diff options
Diffstat (limited to 'src/node_options.h')
-rw-r--r-- | src/node_options.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/node_options.h b/src/node_options.h index 7b3ae19fe6c..c3ef78fd5bc 100644 --- a/src/node_options.h +++ b/src/node_options.h @@ -172,8 +172,9 @@ class EnvironmentOptions : public Options { std::vector<std::string> user_argv; - inline DebugOptions* get_debug_options(); - inline const DebugOptions& debug_options() const; + inline DebugOptions* get_debug_options() { return &debug_options_; } + inline const DebugOptions& debug_options() const { return debug_options_; } + void CheckOptions(std::vector<std::string>* errors) override; private: |