summaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-03-29 18:20:39 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-03-29 18:20:39 +0200
commitfde30342ba5128071c93d7f6f7c4f385a24761a9 (patch)
treec1d38cbfb87e9e75d7d5791a47ca36762483d90f /staging_vespalib
parentbef0c9ddf8b6fb2370913bb3070f5e969ac4856e (diff)
Move th tricky part to a value object to avoid challenges with move of polymorph objects.
Diffstat (limited to 'staging_vespalib')
-rw-r--r--staging_vespalib/src/vespa/vespalib/objects/identifiable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/objects/identifiable.h b/staging_vespalib/src/vespa/vespalib/objects/identifiable.h
index e1637467d5c..6d320bbd864 100644
--- a/staging_vespalib/src/vespa/vespalib/objects/identifiable.h
+++ b/staging_vespalib/src/vespa/vespalib/objects/identifiable.h
@@ -118,8 +118,8 @@
cclass::createAsIdentifiable, cclass::typeId, cclass::tryCast, "")
#define DECLARE_NBO_SERIALIZE \
- virtual vespalib::Serializer & onSerialize(vespalib::Serializer & os) const; \
- virtual vespalib::Deserializer & onDeserialize(vespalib::Deserializer & is);
+ vespalib::Serializer & onSerialize(vespalib::Serializer & os) const override; \
+ vespalib::Deserializer & onDeserialize(vespalib::Deserializer & is) override;
namespace vespalib {