aboutsummaryrefslogtreecommitdiff
path: root/src/DI/container.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DI/container.hpp')
-rw-r--r--src/DI/container.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DI/container.hpp b/src/DI/container.hpp
index 2dd194f..93722b6 100644
--- a/src/DI/container.hpp
+++ b/src/DI/container.hpp
@@ -34,7 +34,7 @@ public:
template <class Interface>
BindingBuilder<Interface> bind();
- template <class Interface, class = std::enable_if_t<std::is_abstract_v<Interface>>>
+ template <class Interface, class = std::enable_if_t<std::is_class_v<Interface>>>
std::shared_ptr<Interface> get() const;
template <typename Interface, typename = std::enable_if_t<is_func_v<Interface>>>