aboutsummaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-03-15 15:24:07 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2017-03-15 15:51:30 +0100
commit6d32060b840295d8b6ad78d7948ae863ab686d27 (patch)
treee495e2ad1feee9ae2d2061723e13d4a4741fa3ef /document
parent4b36e8344d797798c675c09897d8000631f44f57 (diff)
Remove use of LinkedPtr
Diffstat (limited to 'document')
-rw-r--r--document/src/vespa/document/fieldvalue/structuredfieldvalue.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/document/src/vespa/document/fieldvalue/structuredfieldvalue.h b/document/src/vespa/document/fieldvalue/structuredfieldvalue.h
index 29b98c7d3ee..ae888f3e262 100644
--- a/document/src/vespa/document/fieldvalue/structuredfieldvalue.h
+++ b/document/src/vespa/document/fieldvalue/structuredfieldvalue.h
@@ -51,8 +51,8 @@ protected:
};
class Iterator {
const StructuredFieldValue* _owner;
- vespalib::LinkedPtr<StructuredIterator> _iterator;
- const Field* _field;
+ StructuredIterator::UP _iterator;
+ const Field * _field;
public:
Iterator(); // Generate end iterator
@@ -66,7 +66,7 @@ protected:
_field = _iterator->getNextField();
return *this;
}
- Iterator operator++(int); // postfix
+
bool operator==(const Iterator& other) const {
if (_field == 0 && other._field == 0)
// both at end()