From 3d8435e51d5dad345228edbd7ce7865136ef59b1 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Fri, 8 Mar 2019 12:28:38 +0000 Subject: Add a relative timestamp when tracing. make it testable by allowing control of clock. --- staging_vespalib/src/vespa/vespalib/objects/cloneable.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'staging_vespalib') 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 -- cgit v1.2.3