aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/node_win32_etw_provider.cc3
-rw-r--r--src/spawn_sync.h3
-rw-r--r--src/string_search.cc5
-rw-r--r--src/string_search.h4
4 files changed, 9 insertions, 6 deletions
diff --git a/src/node_win32_etw_provider.cc b/src/node_win32_etw_provider.cc
index 6877f1977d..3aa8578db0 100644
--- a/src/node_win32_etw_provider.cc
+++ b/src/node_win32_etw_provider.cc
@@ -187,4 +187,5 @@ void shutdown_etw() {
advapi = nullptr;
}
}
-}
+
+} // namespace node
diff --git a/src/spawn_sync.h b/src/spawn_sync.h
index 9f53f0a22b..8ddba479f3 100644
--- a/src/spawn_sync.h
+++ b/src/spawn_sync.h
@@ -222,7 +222,8 @@ class SyncProcessRunner {
Environment* env_;
};
-}
+
+} // namespace node
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
diff --git a/src/string_search.cc b/src/string_search.cc
index 530a0e5468..326fba7c4a 100644
--- a/src/string_search.cc
+++ b/src/string_search.cc
@@ -6,5 +6,6 @@ namespace stringsearch {
int StringSearchBase::kBadCharShiftTable[kUC16AlphabetSize];
int StringSearchBase::kGoodSuffixShiftTable[kBMMaxShift + 1];
int StringSearchBase::kSuffixTable[kBMMaxShift + 1];
-}
-} // namespace node::stringsearch
+
+} // namespace stringsearch
+} // namespace node
diff --git a/src/string_search.h b/src/string_search.h
index 7827fe153e..b4cc9d6ac9 100644
--- a/src/string_search.h
+++ b/src/string_search.h
@@ -623,8 +623,8 @@ size_t SearchString(Vector<const Char> subject,
StringSearch<Char> search(pattern);
return search.Search(subject, start_index);
}
-}
-} // namespace node::stringsearch
+} // namespace stringsearch
+} // namespace node
namespace node {
using node::stringsearch::Vector;