summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-03-15 15:25:17 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2017-03-15 15:51:30 +0100
commite2b5690d3069b88944cb8d918cdc7aec23285af2 (patch)
tree62cafe340020d4ad38c05e8a132d396f11cb328d /document
parent6d32060b840295d8b6ad78d7948ae863ab686d27 (diff)
Remove use of LinkedPtr
Diffstat (limited to 'document')
-rw-r--r--document/src/vespa/document/fieldvalue/structuredfieldvalue.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/document/src/vespa/document/fieldvalue/structuredfieldvalue.cpp b/document/src/vespa/document/fieldvalue/structuredfieldvalue.cpp
index 6a8bce86885..d343f9d5845 100644
--- a/document/src/vespa/document/fieldvalue/structuredfieldvalue.cpp
+++ b/document/src/vespa/document/fieldvalue/structuredfieldvalue.cpp
@@ -25,14 +25,6 @@ StructuredFieldValue::Iterator::Iterator(const StructuredFieldValue& owner,
{
}
-StructuredFieldValue::Iterator
-StructuredFieldValue::Iterator::operator++(int) // postfix
-{
- StructuredFieldValue::Iterator it(*this);
- operator++();
- return it;
-}
-
StructuredFieldValue::StructuredFieldValue(const StructuredFieldValue& other)
: FieldValue(other),
_type(other._type)
@@ -147,7 +139,7 @@ StructuredFieldValue::onIterateNested(
if (handler.handleComplex(*this)) {
LOG(spam, "handleComplex");
std::vector<const Field*> fieldsToRemove;
- for (const_iterator it(begin()), mt(end()); it != mt; it++) {
+ for (const_iterator it(begin()), mt(end()); it != mt; ++it) {
IteratorHandler::ModificationStatus
currStatus = getValue(it.field())->iterateNested(start, end_, handler);
if (currStatus == IteratorHandler::REMOVED) {