aboutsummaryrefslogtreecommitdiff
path: root/src/DI/concepts.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DI/concepts.hpp')
-rw-r--r--src/DI/concepts.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DI/concepts.hpp b/src/DI/concepts.hpp
index 12be546..4b2c7f9 100644
--- a/src/DI/concepts.hpp
+++ b/src/DI/concepts.hpp
@@ -5,7 +5,7 @@
#include <type_traits>
template <typename Type>
-concept Function = is_func_v<Type>;
+concept Abstract = std::is_abstract_v<Type>;
template <typename Type>
-concept Abstract = std::is_abstract_v<Type>;
+concept IsFactory = is_factory_v<Type>;