From 93f9ab24bb76eff5c8e7ad2dc203cdba1d37c0b4 Mon Sep 17 00:00:00 2001 From: tpoole Date: Thu, 4 May 2017 09:01:42 +0100 Subject: [PATCH] Fixed Projucer compile on VS2013 --- extras/Projucer/Source/Licenses/jucer_LicenseThread.h | 6 +++--- extras/Projucer/Source/Licenses/jucer_LicenseWebview.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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);