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 Myles Borins committed Jul 14, 2016
1 parent 7852117 commit 4748bed
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
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,5 @@ void shutdown_etw() {
advapi = nullptr;
}
}
}

} // namespace node
3 changes: 2 additions & 1 deletion src/spawn_sync.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ class SyncProcessRunner {

Environment* env_;
};
}

} // namespace node

#endif // SRC_SPAWN_SYNC_H_
5 changes: 3 additions & 2 deletions src/string_search.cc
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,8 @@ size_t SearchString(Vector<const SubjectChar> subject,
StringSearch<PatternChar, SubjectChar> 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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 4748bed

Please sign in to comment.