| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -109,7 +109,7 @@ class AsyncWrap : public BaseObject { | |||
| 109 | 109 | ProviderType provider, | |
| 110 | 110 | double execution_async_id = -1); | |
| 111 | 111 | ||
| 112 | - virtual ~AsyncWrap(); | ||
| 112 | + ~AsyncWrap() override; | ||
| 113 | 113 | ||
| 114 | 114 | static v8::Local<v8::FunctionTemplate> GetConstructorTemplate( | |
| 115 | 115 | Environment* env); | |
@@ -169,7 +169,7 @@ class AsyncWrap : public BaseObject { | |||
| 169 | 169 | v8::Local<v8::Value>* argv); | |
| 170 | 170 | ||
| 171 | 171 | virtual std::string diagnostic_name() const; | |
| 172 | - virtual std::string MemoryInfoName() const; | ||
| 172 | + std::string MemoryInfoName() const override; | ||
| 173 | 173 | ||
| 174 | 174 | static void WeakCallback(const v8::WeakCallbackInfo<DestroyParam> &info); | |
| 175 | 175 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,7 +38,7 @@ class BaseObject : public MemoryRetainer { | |||
| 38 | 38 | // Associates this object with `object`. It uses the 0th internal field for | |
| 39 | 39 | // that, and in particular aborts if there is no such field. | |
| 40 | 40 | inline BaseObject(Environment* env, v8::Local<v8::Object> object); | |
| 41 | - virtual inline ~BaseObject(); | ||
| 41 | + inline ~BaseObject() override; | ||
| 42 | 42 | ||
| 43 | 43 | // Returns the wrapped object. Returns an empty handle when | |
| 44 | 44 | // persistent.IsEmpty() is true. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -149,7 +149,7 @@ using node_ares_task_list = | |||
| 149 | 149 | class ChannelWrap : public AsyncWrap { | |
| 150 | 150 | public: | |
| 151 | 151 | ChannelWrap(Environment* env, Local<Object> object); | |
| 152 | - ~ChannelWrap(); | ||
| 152 | + ~ChannelWrap() override; | ||
| 153 | 153 | ||
| 154 | 154 | static void New(const FunctionCallbackInfo<Value>& args); | |
| 155 | 155 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,7 +42,7 @@ class CreateObjectRequest : public Request { | |||
| 42 | 42 | CreateObjectRequest(int object_id, Factory factory) | |
| 43 | 43 | : object_id_(object_id), factory_(std::move(factory)) {} | |
| 44 | 44 | ||
| 45 | - void Call(MainThreadInterface* thread) { | ||
| 45 | + void Call(MainThreadInterface* thread) override { | ||
| 46 | 46 | thread->AddObject(object_id_, WrapInDeletable(factory_(thread))); | |
| 47 | 47 | } | |
| 48 | 48 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -228,7 +228,7 @@ class ChannelImpl final : public v8_inspector::V8Inspector::Channel, | |||
| 228 | 228 | worker_agent_->Wire(node_dispatcher_.get()); | |
| 229 | 229 | } | |
| 230 | 230 | ||
| 231 | - virtual ~ChannelImpl() { | ||
| 231 | + ~ChannelImpl() override { | ||
| 232 | 232 | tracing_agent_->disable(); | |
| 233 | 233 | tracing_agent_.reset(); // Dispose before the dispatchers | |
| 234 | 234 | worker_agent_->disable(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -215,7 +215,7 @@ class InspectorIoDelegate: public node::inspector::SocketServerDelegate { | |||
| 215 | 215 | const std::string& target_id, | |
| 216 | 216 | const std::string& script_path, | |
| 217 | 217 | const std::string& script_name); | |
| 218 | - ~InspectorIoDelegate() { | ||
| 218 | + ~InspectorIoDelegate() override { | ||
| 219 | 219 | } | |
| 220 | 220 | ||
| 221 | 221 | void StartSession(int session_id, const std::string& target_id) override; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -184,7 +184,7 @@ class SocketSession { | |||
| 184 | 184 | public: | |
| 185 | 185 | Delegate(InspectorSocketServer* server, int session_id) | |
| 186 | 186 | : server_(server), session_id_(session_id) { } | |
| 187 | - ~Delegate() { | ||
| 187 | + ~Delegate() override { | ||
| 188 | 188 | server_->SessionTerminated(session_id_); | |
| 189 | 189 | } | |
| 190 | 190 | void OnHttpGet(const std::string& host, const std::string& path) override; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -61,7 +61,7 @@ class ModuleWrap : public BaseObject { | |||
| 61 | 61 | v8::Local<v8::Object> object, | |
| 62 | 62 | v8::Local<v8::Module> module, | |
| 63 | 63 | v8::Local<v8::String> url); | |
| 64 | - ~ModuleWrap(); | ||
| 64 | + ~ModuleWrap() override; | ||
| 65 | 65 | ||
| 66 | 66 | static void New(const v8::FunctionCallbackInfo<v8::Value>& args); | |
| 67 | 67 | static void Link(const v8::FunctionCallbackInfo<v8::Value>& args); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -220,7 +220,7 @@ class Environment; | |||
| 220 | 220 | ||
| 221 | 221 | class NODE_EXTERN MultiIsolatePlatform : public v8::Platform { | |
| 222 | 222 | public: | |
| 223 | - virtual ~MultiIsolatePlatform() { } | ||
| 223 | + ~MultiIsolatePlatform() override { } | ||
| 224 | 224 | // Returns true if work was dispatched or executed. New tasks that are | |
| 225 | 225 | // posted during flushing of the queue are postponed until the next | |
| 226 | 226 | // flushing. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -134,7 +134,7 @@ class ThreadSafeFunction : public node::AsyncResource { | |||
| 134 | 134 | env->Ref(); | |
| 135 | 135 | } | |
| 136 | 136 | ||
| 137 | - ~ThreadSafeFunction() { | ||
| 137 | + ~ThreadSafeFunction() override { | ||
| 138 | 138 | node::RemoveEnvironmentCleanupHook(env->isolate, Cleanup, this); | |
| 139 | 139 | env->Unref(); | |
| 140 | 140 | } | |
@@ -839,7 +839,7 @@ class Work : public node::AsyncResource, public node::ThreadPoolWork { | |||
| 839 | 839 | _complete(complete) { | |
| 840 | 840 | } | |
| 841 | 841 | ||
| 842 | - virtual ~Work() { } | ||
| 842 | + ~Work() override { } | ||
| 843 | 843 | ||
| 844 | 844 | public: | |
| 845 | 845 | static Work* New(node_napi_env env, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments