aboutsummaryrefslogtreecommitdiff
path: root/src/DI/auto_wirable.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-27 20:22:52 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:57 +0200
commitea8cc60dc4af9b88d13f4a143986a3fad7e1691a (patch)
treeccb622de7c03aef041916b1bd451d10939fbf861 /src/DI/auto_wirable.hpp
parent3b326d77dceb3cc70abd54943689d76ecd96fc8b (diff)
refactor: clean up DI code
Diffstat (limited to 'src/DI/auto_wirable.hpp')
-rw-r--r--src/DI/auto_wirable.hpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/DI/auto_wirable.hpp b/src/DI/auto_wirable.hpp
index a903242..178158a 100644
--- a/src/DI/auto_wirable.hpp
+++ b/src/DI/auto_wirable.hpp
@@ -4,15 +4,8 @@
#include <memory>
-// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
-class IGenericAutoWirable
-{
-public:
- virtual ~IGenericAutoWirable() noexcept = default;
-};
-
template <class Interface>
-class IAutoWirable : public IGenericAutoWirable
+class IAutoWirable
{
public:
static Interface resolve() noexcept;