From 598fa1e596450dc4e79dc85187809794659b62f6 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Wed, 3 Jun 2020 10:26:37 -0700 Subject: [PATCH] make Destroyable::destroy() optional --- src/utils/pv/destroyable.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/pv/destroyable.h b/src/utils/pv/destroyable.h index f9afc47..07dfed6 100644 --- a/src/utils/pv/destroyable.h +++ b/src/utils/pv/destroyable.h @@ -21,13 +21,13 @@ namespace epics { namespace pvAccess { /** * @brief Instance declaring destroy method. */ - class epicsShareClass Destroyable { + class Destroyable { public: POINTER_DEFINITIONS(Destroyable); /** * Destroy this instance. */ - virtual void destroy() = 0; + virtual void destroy() {}; protected: virtual ~Destroyable() {}