aboutsummaryrefslogtreecommitdiff
path: root/src/DI/object_wrapper.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DI/object_wrapper.hpp')
-rw-r--r--src/DI/object_wrapper.hpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/DI/object_wrapper.hpp b/src/DI/object_wrapper.hpp
deleted file mode 100644
index 6433bc2..0000000
--- a/src/DI/object_wrapper.hpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#pragma once
-
-#include "DI/container.hpp"
-#include "DI/interfaces/wrapper.hpp"
-
-#include <memory>
-
-template <class Interface, class ObjectImpl>
-class ObjectWrapper : public IWrapper<std::unique_ptr<Interface>>
-{
-public:
- explicit ObjectWrapper(const Container &container) noexcept : _container(container) {}
-
- [[nodiscard]] auto get() const noexcept -> std::unique_ptr<Interface> override;
-
-private:
- const Container &_container;
-};
-
-#include "object_wrapper.tpp"