summaryrefslogtreecommitdiff
path: root/src/node_stat_watcher.cc
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-11-18 14:49:56 +0100
committergengjiawen <technicalcute@gmail.com>2019-11-30 08:51:06 +0000
commit52a3e3560484ec3ad4479ef80d829f7c99d39e80 (patch)
tree550033e4de5f83add146bfccec15bd6dc70a2f9c /src/node_stat_watcher.cc
parent6c4cf862d0f17be7a4113d720567d3ce8f2d6fac (diff)
downloadandroid-node-v8-52a3e3560484ec3ad4479ef80d829f7c99d39e80.tar.gz
android-node-v8-52a3e3560484ec3ad4479ef80d829f7c99d39e80.tar.bz2
android-node-v8-52a3e3560484ec3ad4479ef80d829f7c99d39e80.zip
src: clean up node_file.h
- Move inline functions into an `-inl.h` file - Move override function definitions into `.cc` files - Remove `using` statements from header files - Make data fields of classes private - Mark classes at the end of hierarchies as `final` This is also partially being done in an attempt to avoid a particular internal compiler error, see https://github.com/nodejs/node/pull/30475#issuecomment-554740850 for details. PR-URL: https://github.com/nodejs/node/pull/30530 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_stat_watcher.cc')
-rw-r--r--src/node_stat_watcher.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_stat_watcher.cc b/src/node_stat_watcher.cc
index ae30825cbb..a3f4ef8f50 100644
--- a/src/node_stat_watcher.cc
+++ b/src/node_stat_watcher.cc
@@ -23,7 +23,7 @@
#include "node_stat_watcher.h"
#include "async_wrap-inl.h"
#include "env.h"
-#include "node_file.h"
+#include "node_file-inl.h"
#include "util-inl.h"
#include <cstring>