diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-01-18 21:41:57 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-01-18 21:41:57 +0000 |
commit | aef428d8d6840395d85abb066b8118fb3e04dbc9 (patch) | |
tree | c1a0c95997e2bc05c32d4b49f6bd8501b489fea3 /libtmdb/httpClient.h | |
parent | Compatibility with gcc-5.3.0 (diff) | |
download | p2pvr-aef428d8d6840395d85abb066b8118fb3e04dbc9.tar.bz2 p2pvr-aef428d8d6840395d85abb066b8118fb3e04dbc9.tar.xz p2pvr-aef428d8d6840395d85abb066b8118fb3e04dbc9.zip |
Remove straggling use of Slicer::Deserialize in favour of more flexible DeserializeAnyp2pvr-0.1.4.1
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 &); |