summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-27 18:30:35 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-30 23:37:44 +0300
commit4362e27ab2e3d4e6ac94ea5eb13014594c2c68d9 (patch)
treecb7270e128d102100fccccef6056e47aaeb20ea1 /platform
parent7f422e869625f0606faefd36f9cec9b664fdf595 (diff)
downloadqtlocation-mapboxgl-4362e27ab2e3d4e6ac94ea5eb13014594c2c68d9.tar.gz
[core] Fix google-explicit-constructor errors
As reported by clang-tidy-8.
Diffstat (limited to 'platform')
-rw-r--r--platform/node/src/node_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/node/src/node_map.cpp b/platform/node/src/node_map.cpp
index 624454c103..550d3d594b 100644
--- a/platform/node/src/node_map.cpp
+++ b/platform/node/src/node_map.cpp
@@ -391,7 +391,7 @@ NodeMap::RenderOptions NodeMap::ParseOptions(v8::Local<v8::Object> obj) {
class RenderRequest : public Nan::AsyncResource {
public:
- RenderRequest(v8::Local<v8::Function> callback_) : AsyncResource("mbgl:RenderRequest") {
+ explicit RenderRequest(v8::Local<v8::Function> callback_) : AsyncResource("mbgl:RenderRequest") {
callback.Reset(callback_);
}
~RenderRequest() {