diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-27 18:30:35 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-30 23:37:44 +0300 |
commit | 4362e27ab2e3d4e6ac94ea5eb13014594c2c68d9 (patch) | |
tree | cb7270e128d102100fccccef6056e47aaeb20ea1 /platform | |
parent | 7f422e869625f0606faefd36f9cec9b664fdf595 (diff) | |
download | qtlocation-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.cpp | 2 |
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() { |