diff --git a/extras/Projucer/Source/Licenses/jucer_LicenseThread.h b/extras/Projucer/Source/Licenses/jucer_LicenseThread.h index 6d9a2b74a0..d65f2ae1e9 100644 --- a/extras/Projucer/Source/Licenses/jucer_LicenseThread.h +++ b/extras/Projucer/Source/Licenses/jucer_LicenseThread.h @@ -263,7 +263,7 @@ struct LicenseThread : NetWorkerThread DynamicObject::Ptr redeamObject = new DynamicObject(); redeamObject->setProperty (serialIdentifier, productKey); - String postData (JSON::toString (var (redeamObject))); + String postData (JSON::toString (var (redeamObject.get()))); ScopedPointer shared = getSharedWebInputStream (URL ("https://api.roli.com/api/v1/user/products").withPOSTData (postData), true); @@ -292,11 +292,11 @@ struct LicenseThread : NetWorkerThread DynamicObject::Ptr jsonLicenseRequest = new DynamicObject(); - jsonLicenseRequest->setProperty (licenseIdentifier, var (jsonLicenseObject)); + jsonLicenseRequest->setProperty (licenseIdentifier, var (jsonLicenseObject.get())); jsonLicenseRequest->setProperty (searchInternalIdentifier, "com.roli.projucer"); jsonLicenseRequest->setProperty (licenseTypeIdentifier, "software"); - String postData (JSON::toString (var (jsonLicenseRequest))); + String postData (JSON::toString (var (jsonLicenseRequest.get()))); ScopedPointer shared = getSharedWebInputStream (URL ("https://api.roli.com/api/v1/user/products/redeem").withPOSTData (postData), true); diff --git a/extras/Projucer/Source/Licenses/jucer_LicenseWebview.h b/extras/Projucer/Source/Licenses/jucer_LicenseWebview.h index 1a285e0f59..21eba575ac 100644 --- a/extras/Projucer/Source/Licenses/jucer_LicenseWebview.h +++ b/extras/Projucer/Source/Licenses/jucer_LicenseWebview.h @@ -138,7 +138,7 @@ private: } } - static constexpr uint32 backgroundColour = 0xff414141; + const uint32 backgroundColour = 0xff414141; ScopedPointer juceLogo = Drawable::createFromImageData (BinaryData::jucelogowithtext_svg, BinaryData::jucelogowithtext_svgSize);