summaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-03-08 12:28:38 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2019-03-08 12:28:38 +0000
commit3d8435e51d5dad345228edbd7ce7865136ef59b1 (patch)
tree510535c35a4667f6a1a660f5bd20612be2ad02ff /staging_vespalib
parent511cdf2bea96cb39c7aee78b720fb9f05ba0a780 (diff)
Add a relative timestamp when tracing.
make it testable by allowing control of clock.
Diffstat (limited to 'staging_vespalib')
-rw-r--r--staging_vespalib/src/vespa/vespalib/objects/cloneable.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/objects/cloneable.h b/staging_vespalib/src/vespa/vespalib/objects/cloneable.h
index f6fcce0156b..c219907ae36 100644
--- a/staging_vespalib/src/vespa/vespalib/objects/cloneable.h
+++ b/staging_vespalib/src/vespa/vespalib/objects/cloneable.h
@@ -1,5 +1,7 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
#pragma once
+
/**
* @class vespalib::Cloneable
* @brief Superclass for objects implementing clone() deep copy.
@@ -19,7 +21,7 @@ public:
* don't need to cast it to get the correct type.
*/
virtual Cloneable* clone() const = 0;
- virtual ~Cloneable() {}
+ virtual ~Cloneable() = default;
};
} // namespace vespalib