summaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-06-13 11:19:48 +0200
committerHenning Baldersheim <balder@oath.com>2018-06-13 11:19:48 +0200
commita946f5f31b1186b3f39fad0a71458b7858f46568 (patch)
treef8aa6ae606c95ac9779b96609dd196123f01beea /staging_vespalib
parentff9cbc3a7f2ec91fbff87d933602676e4a1d3897 (diff)
Only call classFromId once
Diffstat (limited to 'staging_vespalib')
-rw-r--r--staging_vespalib/src/vespa/vespalib/objects/identifiable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/objects/identifiable.cpp b/staging_vespalib/src/vespa/vespalib/objects/identifiable.cpp
index 52c9def3036..7e14fbc0014 100644
--- a/staging_vespalib/src/vespa/vespalib/objects/identifiable.cpp
+++ b/staging_vespalib/src/vespa/vespalib/objects/identifiable.cpp
@@ -48,7 +48,7 @@ Register::Register() :
_listByName()
{ }
-Register::~Register() { }
+Register::~Register() = default;
bool Register::erase(Identifiable::RuntimeClass * c)
{