summaryrefslogtreecommitdiff
path: root/src/node_options-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_options-inl.h')
-rw-r--r--src/node_options-inl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/node_options-inl.h b/src/node_options-inl.h
index 468368ac84..8aaa62524b 100644
--- a/src/node_options-inl.h
+++ b/src/node_options-inl.h
@@ -14,7 +14,11 @@ PerIsolateOptions* PerProcessOptions::get_per_isolate_options() {
}
DebugOptions* EnvironmentOptions::get_debug_options() {
- return debug_options.get();
+ return &debug_options_;
+}
+
+const DebugOptions& EnvironmentOptions::debug_options() const {
+ return debug_options_;
}
EnvironmentOptions* PerIsolateOptions::get_per_env_options() {