summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
Diffstat (limited to 'document')
-rw-r--r--document/src/vespa/document/fieldvalue/fieldvalue.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/document/src/vespa/document/fieldvalue/fieldvalue.h b/document/src/vespa/document/fieldvalue/fieldvalue.h
index 2e942857bb8..78c8795e412 100644
--- a/document/src/vespa/document/fieldvalue/fieldvalue.h
+++ b/document/src/vespa/document/fieldvalue/fieldvalue.h
@@ -29,9 +29,9 @@ namespace document {
class FieldValue : public vespalib::Identifiable
{
protected:
- FieldValue(const FieldValue&) : Identifiable() { }
- FieldValue& operator=(const FieldValue&) { return *this; }
- typedef vespalib::IArrayT<FieldValue> IArray;
+ FieldValue(const FieldValue&) = default;
+ FieldValue& operator=(const FieldValue&) = default;
+ using IArray = vespalib::IArrayT<FieldValue>;
static IArray::UP createArray(const DataType & baseType);
public: