diff options
Diffstat (limited to 'libtmdb/httpClient.h')
-rw-r--r-- | libtmdb/httpClient.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtmdb/httpClient.h b/libtmdb/httpClient.h index e171323..8e75428 100644 --- a/libtmdb/httpClient.h +++ b/libtmdb/httpClient.h @@ -46,11 +46,11 @@ namespace TMDb { } template <typename ReturnModel, typename ... Params> - IceInternal::Handle<ReturnModel> + ReturnModel GetData(const std::string & pathFormat, const Params & ... params, const Parameters & parameters) const { json::Value data = FetchJson(GetUrl<Params...>(pathFormat, params..., parameters)); - return Slicer::Deserialize<Slicer::JsonValueDeserializer, ReturnModel>(data); + return Slicer::DeserializeAny<Slicer::JsonValueDeserializer, ReturnModel>(data); } DLL_PUBLIC static void packParams(boost::format &); |