summaryrefslogtreecommitdiff
path: root/libtmdb
diff options
context:
space:
mode:
Diffstat (limited to 'libtmdb')
-rw-r--r--libtmdb/httpClient.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/libtmdb/httpClient.cpp b/libtmdb/httpClient.cpp
index 93fdd76..6217f1a 100644
--- a/libtmdb/httpClient.cpp
+++ b/libtmdb/httpClient.cpp
@@ -1,5 +1,4 @@
#include "httpClient.h"
-#include <boost/foreach.hpp>
#include <boost/lexical_cast.hpp>
#include <curl/curl.h>
#include <tmdb-api.h>
@@ -29,11 +28,11 @@ namespace TMDb {
void
HttpClient::appendQueryParameters(std::string & path, const Parameters & parameters) const
{
- path += "?";
+ path += "?";
appendQueryParameters(path, { "apikey", ApiKey });
- BOOST_FOREACH(const auto & nvp, parameters) {
+ for (const auto & nvp : parameters) {
if (nvp.second.value) {
- path += "&";
+ path += "&";
appendQueryParameters(path, nvp);
}
}