Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2378)

Unified Diff: base/values.h

Issue 552004: Style cleanup in preparation for auto-linting base/. (Closed)
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/tuple.h ('k') | base/values_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/values.h
diff --git a/base/values.h b/base/values.h
index fbe6b1ccf08d61a7a73b255229c5b0e9de5c000e..ba6989d004613af4a901a8fd8a7caa6ac3b8a2d3 100644
--- a/base/values.h
+++ b/base/values.h
@@ -301,7 +301,10 @@ class DictionaryValue : public Value {
: private std::iterator<std::input_iterator_tag, const std::wstring> {
public:
explicit key_iterator(ValueMap::const_iterator itr) { itr_ = itr; }
- key_iterator operator++() { ++itr_; return *this; }
+ key_iterator operator++() {
+ ++itr_;
+ return *this;
+ }
const std::wstring& operator*() { return itr_->first; }
bool operator!=(const key_iterator& other) { return itr_ != other.itr_; }
bool operator==(const key_iterator& other) { return itr_ == other.itr_; }
« no previous file with comments | « base/tuple.h ('k') | base/values_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698