summaryrefslogtreecommitdiff
path: root/src/util.cc
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2019-05-09 12:52:38 -0700
committerSam Roberts <vieuxtech@gmail.com>2019-05-13 13:43:26 -0700
commitb6bfc193788b1838bee73d584fe089e1104b9f88 (patch)
tree751f652414b55521271b2acd8e8edb05bbdf9ee4 /src/util.cc
parentd3c2287e59fce447bc4624821bd0ebb394014b90 (diff)
downloadandroid-node-v8-b6bfc193788b1838bee73d584fe089e1104b9f88.tar.gz
android-node-v8-b6bfc193788b1838bee73d584fe089e1104b9f88.tar.bz2
android-node-v8-b6bfc193788b1838bee73d584fe089e1104b9f88.zip
src: remove util-inl.h from header files
Its intended that *-inl.h header files are only included into the src files that call the inline methods. Explicitly include it into the files that need it. PR-URL: https://github.com/nodejs/node/pull/27631 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.cc b/src/util.cc
index 78ac680f39..51f11b4539 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -19,7 +19,8 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.
-#include "util.h"
+#include "util.h" // NOLINT(build/include_inline)
+#include "util-inl.h"
#include "node_buffer.h"
#include "node_errors.h"