aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/vector2.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/vector2.hpp')
-rw-r--r--src/interfaces/vector2.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/interfaces/vector2.hpp b/src/interfaces/vector2.hpp
index 569dc30..dfd369f 100644
--- a/src/interfaces/vector2.hpp
+++ b/src/interfaces/vector2.hpp
@@ -1,6 +1,5 @@
#pragma once
-#include <functional>
#include <memory>
class IVector2
@@ -42,5 +41,4 @@ struct IVector2Options
unsigned int y;
};
-using IVector2Factory =
- std::function<std::shared_ptr<IVector2>(const IVector2Options &options)>;
+using IVector2Factory = std::shared_ptr<IVector2> (*)(const IVector2Options &options);