summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-03-29 13:15:00 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-03-29 13:15:00 +0200
commit06d2a08a072da4772308f9add751dfb1b50ba505 (patch)
tree6cd1dd5a0f2d0c71bb1c6d3f18e72368d6fc6ab1 /document
parentc865f4475457398a1d19b0e98f6e9b78196cedf2 (diff)
Use default constructors and assignment operators.
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: