diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-09-23 07:16:31 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-09-23 07:16:31 +0000 |
commit | aec20e0986d71c1a8cd4a7a7153bf81b304a233f (patch) | |
tree | af01498e5b3eeb4645112bdfabe29d0062076f46 /vespalib | |
parent | dd30a9a839f4b7f5c99e265af091c3f88613f4cd (diff) |
Reduce include and visibility of ptrholder.h
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/vespa/vespalib/util/ptrholder.h | 5 |
1 files changed, 4 insertions, 1 deletions
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<typename T> +PtrHolder<T>::~PtrHolder() = default; + } // namespace vespalib |