[node] Fix clang-tidy errors on the Node bindings headers

As reported by clang-tidy-8.
This commit is contained in:
Thiago Marcos P. Santos
2020-04-05 13:16:38 +03:00
parent ea2477f2ea
commit c570c7322d
7 changed files with 24 additions and 35 deletions

View File

@@ -31,7 +31,7 @@ public:
class RenderWorker;
NodeMap(v8::Local<v8::Object>);
~NodeMap();
~NodeMap() override;
static Nan::Persistent<v8::Function> constructor;
static Nan::Persistent<v8::Object> parseError;
@@ -97,7 +97,7 @@ public:
struct NodeFileSource : public mbgl::FileSource {
NodeFileSource(NodeMap* nodeMap_) : nodeMap(nodeMap_) {}
~NodeFileSource() = default;
~NodeFileSource() override = default;
std::unique_ptr<mbgl::AsyncRequest> request(const mbgl::Resource&, mbgl::FileSource::Callback) final;
bool canRequest(const mbgl::Resource&) const override;
NodeMap* nodeMap;