adamski / RestRequest

JUCE module for making HTTP requests to REST API's
MIT License
63 stars 8 forks source link

compiler error in RestRequest.h #3

Open ayra20 opened 3 years ago

ayra20 commented 3 years ago

Hi in this line there's an error that occurs:

ScopedPointer in (urlRequest.createInputStream (hasFields, nullptr, nullptr, stringPairArrayToHeaderString(headers), 0, &response.headers, &response.status, 5, verb));

urlRequest.createInputStream return an std::unique_ptr

adamski commented 3 years ago

Thanks for the report. This class needs to be updated to the latest JUCE, now that ScopedPointers have been replaced completely by std::unique_ptr