From aec20e0986d71c1a8cd4a7a7153bf81b304a233f Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Fri, 23 Sep 2022 07:16:31 +0000 Subject: Reduce include and visibility of ptrholder.h --- vespalib/src/vespa/vespalib/util/ptrholder.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'vespalib') diff --git a/vespalib/src/vespa/vespalib/util/ptrholder.h b/vespalib/src/vespa/vespalib/util/ptrholder.h index de2c4b6941e..eed0a4d2052 100644 --- a/vespalib/src/vespa/vespalib/util/ptrholder.h +++ b/vespalib/src/vespa/vespalib/util/ptrholder.h @@ -46,7 +46,7 @@ public: * std::shared_ptr instances are used internally to track shared * resources **/ - virtual ~PtrHolder() {} + virtual ~PtrHolder(); /** * @brief Check if the current value is set (not 0) @@ -124,4 +124,7 @@ public: } }; +template +PtrHolder::~PtrHolder() = default; + } // namespace vespalib -- cgit v1.2.3