aboutsummaryrefslogtreecommitdiff
path: root/src/heap_utils.cc
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2019-05-22 12:12:36 -0700
committerMichaƫl Zasso <targos@protonmail.com>2019-05-28 07:33:34 +0200
commit44846aebd24560afc4cbadca3c2e0db285d07ab0 (patch)
tree7c16aee1a709131b28424dbf58c50667d4613bdb /src/heap_utils.cc
parent9d9b32eff57457ce62bfd1817aae304cba1424e0 (diff)
downloadandroid-node-v8-44846aebd24560afc4cbadca3c2e0db285d07ab0.tar.gz
android-node-v8-44846aebd24560afc4cbadca3c2e0db285d07ab0.tar.bz2
android-node-v8-44846aebd24560afc4cbadca3c2e0db285d07ab0.zip
src: move DiagnosticFilename inlines into a -inl.h
DiagnosticFilename's constructor default values use inlines from env-inl.h, causing the many users of node_internals.h to include env-inl.h, even if they never use DiagnosticFilename. PR-URL: https://github.com/nodejs/node/pull/27839 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'src/heap_utils.cc')
-rw-r--r--src/heap_utils.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/heap_utils.cc b/src/heap_utils.cc
index acc63fd1d9..8391f1de37 100644
--- a/src/heap_utils.cc
+++ b/src/heap_utils.cc
@@ -1,3 +1,4 @@
+#include "diagnosticfilename-inl.h"
#include "env-inl.h"
#include "memory_tracker-inl.h"
#include "stream_base-inl.h"