summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2015-07-10 19:24:32 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2015-07-11 12:42:45 +0300
commit00308be14093bce1632d2d66e302a35d8a1572b8 (patch)
treee930df72f81b559c675a55bc4de1fbaca5b4ee09 /platform
parentbd8210d5a12223b12db792edf3f24f5105e5e8a9 (diff)
downloadqtlocation-mapboxgl-00308be14093bce1632d2d66e302a35d8a1572b8.tar.gz
Make one arg ctors explicit
Diffstat (limited to 'platform')
-rw-r--r--platform/default/asset_request_zip.cpp2
-rw-r--r--platform/default/http_request_curl.cpp2
-rw-r--r--platform/default/sqlite_cache_impl.hpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/platform/default/asset_request_zip.cpp b/platform/default/asset_request_zip.cpp
index 7fd93c55d1..4c380bdd8a 100644
--- a/platform/default/asset_request_zip.cpp
+++ b/platform/default/asset_request_zip.cpp
@@ -17,7 +17,7 @@ namespace mbgl {
class AssetZipContext : public AssetContext {
public:
- AssetZipContext(uv_loop_t *loop);
+ explicit AssetZipContext(uv_loop_t *loop);
~AssetZipContext();
RequestBase* createRequest(const Resource& resource,
diff --git a/platform/default/http_request_curl.cpp b/platform/default/http_request_curl.cpp
index 8599ea05ee..b3d6418c08 100644
--- a/platform/default/http_request_curl.cpp
+++ b/platform/default/http_request_curl.cpp
@@ -60,7 +60,7 @@ class HTTPCURLContext : public HTTPContext {
MBGL_STORE_THREAD(tid)
public:
- HTTPCURLContext(uv_loop_t *loop);
+ explicit HTTPCURLContext(uv_loop_t *loop);
~HTTPCURLContext();
RequestBase* createRequest(const Resource&,
diff --git a/platform/default/sqlite_cache_impl.hpp b/platform/default/sqlite_cache_impl.hpp
index 8d90fa8813..700771f2e8 100644
--- a/platform/default/sqlite_cache_impl.hpp
+++ b/platform/default/sqlite_cache_impl.hpp
@@ -14,7 +14,7 @@ namespace mbgl {
class SQLiteCache::Impl {
public:
- Impl(const std::string &path = ":memory:");
+ explicit Impl(const std::string &path = ":memory:");
~Impl();
void get(const Resource&, Callback);