diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-07-28 14:14:15 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-07-31 17:40:50 +0200 |
commit | 5868461e6c629ee86c6a1f64752e2f14290f2aa1 (patch) | |
tree | 37411135ba2cc0cd73e4128b006ef634f1f457ca | |
parent | 23a8a5e3e2d9e9ba9aae6f05b389ffbcbafdea09 (diff) |
postfix -> prefix ++
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/common/attrupdate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/common/attrupdate.cpp b/searchcore/src/vespa/searchcore/proton/common/attrupdate.cpp index ad0b9831d6e..7c0a1815019 100644 --- a/searchcore/src/vespa/searchcore/proton/common/attrupdate.cpp +++ b/searchcore/src/vespa/searchcore/proton/common/attrupdate.cpp @@ -107,7 +107,7 @@ public: WeightedSetAccessor(const WeightedSetFieldValue & ws) : _size(ws.size()), _current(ws.begin()), _end(ws.end()) { } size_t size() const { return _size; } bool isAtEnd() const { return _current == _end;} - void next() { _current++; } + void next() { ++_current; } typename G::T value() const { return _accessor(*_current->first); } int32_t weight() const { return _current->second->getAsInt(); } private: |