Skip to content

Commit

Permalink
src: fix readability/namespace cpplint warnings
Browse files Browse the repository at this point in the history
PR-URL: #7462
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
  • Loading branch information
bnoordhuis authored and Fishrock123 committed Jul 5, 2016
1 parent 5fd1585 commit 43e8357
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
3 changes: 2 additions & 1 deletion src/node_win32_etw_provider.cc
Expand Up @@ -187,4 +187,5 @@ void shutdown_etw() {
advapi = nullptr;
}
}
}

} // namespace node
3 changes: 2 additions & 1 deletion src/spawn_sync.h
Expand Up @@ -222,7 +222,8 @@ class SyncProcessRunner {

Environment* env_;
};
}

} // namespace node

#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

Expand Down
5 changes: 3 additions & 2 deletions src/string_search.cc
Expand Up @@ -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
4 changes: 2 additions & 2 deletions src/string_search.h
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion test/addons/make-callback-recurse/binding.cc
Expand Up @@ -26,6 +26,6 @@ void Initialize(Local<Object> target) {
NODE_SET_METHOD(target, "makeCallback", MakeCallback);
}

} // namespace anonymous
} // namespace

NODE_MODULE(binding, Initialize)
2 changes: 1 addition & 1 deletion test/addons/make-callback/binding.cc
Expand Up @@ -35,6 +35,6 @@ void Initialize(v8::Local<v8::Object> target) {
NODE_SET_METHOD(target, "makeCallback", MakeCallback);
}

} // namespace anonymous
} // namespace

NODE_MODULE(binding, Initialize)

0 comments on commit 43e8357

Please sign in to comment.