From aef428d8d6840395d85abb066b8118fb3e04dbc9 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 18 Jan 2016 21:41:57 +0000 Subject: Remove straggling use of Slicer::Deserialize in favour of more flexible DeserializeAny --- libtmdb/tmdb-proxy.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libtmdb/tmdb-proxy.cpp') diff --git a/libtmdb/tmdb-proxy.cpp b/libtmdb/tmdb-proxy.cpp index 7a575e5..b20752c 100644 --- a/libtmdb/tmdb-proxy.cpp +++ b/libtmdb/tmdb-proxy.cpp @@ -9,37 +9,37 @@ namespace TMDb { SearchMultiResultsPtr Proxy::SearchMulti(const std::string & query, const IceUtil::Optional & page, const Ice::Current&) { - return GetData("/search/multi", { { "query", query }, { "page", page } }); + return GetData("/search/multi", { { "query", query }, { "page", page } }); } SearchMovieResultsPtr Proxy::SearchMovies(const std::string & query, const IceUtil::Optional & year, const IceUtil::Optional & page, const Ice::Current&) { - return GetData("/search/movies", { { "query", query }, { "page", page }, { "year", year } }); + return GetData("/search/movies", { { "query", query }, { "page", page }, { "year", year } }); } SearchPersonResultsPtr Proxy::SearchPersons(const std::string & query, const IceUtil::Optional & page, const Ice::Current&) { - return GetData("/search/person", { { "query", query }, { "page", page } }); + return GetData("/search/person", { { "query", query }, { "page", page } }); } SearchTvResultsPtr Proxy::SearchTv(const std::string & query, const IceUtil::Optional & page, const Ice::Current&) { - return GetData("/search/tv", { { "query", query}, { "page", page } }); + return GetData("/search/tv", { { "query", query}, { "page", page } }); } MoviePtr Proxy::GetMovie(Ice::Int id, const Ice::Current&) { - return GetData("/movie/%d", id, { }); + return GetData("/movie/%d", id, { }); } TvSeriesPtr Proxy::GetTvSeries(Ice::Int id, const Ice::Current&) { - return GetData("/tv/%d", id, { }); + return GetData("/tv/%d", id, { }); } } -- cgit v1.2.3