summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-17 15:24:41 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-17 15:24:41 +0000
commit978a7835cf94d82f56310470c842e9e84e90cbf7 (patch)
treeb0b21aafba2b32942491b3cf7d1ee3d5bb1e2e02
parentRemoved unrequired destructor (diff)
downloadlibadhocutil-978a7835cf94d82f56310470c842e9e84e90cbf7.tar.bz2
libadhocutil-978a7835cf94d82f56310470c842e9e84e90cbf7.tar.xz
libadhocutil-978a7835cf94d82f56310470c842e9e84e90cbf7.zip
Removed unrequired destructor
-rw-r--r--libadhocutil/factory.h2
-rw-r--r--libadhocutil/factory.impl.h3
2 files changed, 0 insertions, 5 deletions
diff --git a/libadhocutil/factory.h b/libadhocutil/factory.h
index fe3f836..2cd2844 100644
--- a/libadhocutil/factory.h
+++ b/libadhocutil/factory.h
@@ -11,8 +11,6 @@ namespace AdHoc {
template <typename Base, typename ... Params>
class DLL_PUBLIC Factory : public virtual AbstractPluginImplementation {
public:
- virtual ~Factory() = 0;
-
/**
* Create a new instance of Base, overridden in a subclass to construct a new specific class.
* @param p The parameters passed to Impl constructor.
diff --git a/libadhocutil/factory.impl.h b/libadhocutil/factory.impl.h
index aec3d31..6f3cb5a 100644
--- a/libadhocutil/factory.impl.h
+++ b/libadhocutil/factory.impl.h
@@ -6,9 +6,6 @@
namespace AdHoc {
template <typename Base, typename ... Params>
- Factory<Base, Params ...>::~Factory() = default;
-
- template <typename Base, typename ... Params>
std::shared_ptr<const Factory<Base, Params...>>
Factory<Base, Params...>::get(const std::string_view & name)
{