summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-07-28 14:14:15 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-07-31 17:40:50 +0200
commit5868461e6c629ee86c6a1f64752e2f14290f2aa1 (patch)
tree37411135ba2cc0cd73e4128b006ef634f1f457ca /searchcore
parent23a8a5e3e2d9e9ba9aae6f05b389ffbcbafdea09 (diff)
postfix -> prefix ++
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/common/attrupdate.cpp2
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: