diff --git a/src/ArchMap.cpp b/src/ArchMap.cpp index 5ec15abf..6e8bccf7 100644 --- a/src/ArchMap.cpp +++ b/src/ArchMap.cpp @@ -15,7 +15,7 @@ template class BaseMapper { private: const std::function func; public: - BaseMapper(const std::function &func) : func(func) {} + BaseMapper(const std::function &func){} BaseMapper(const T constant) : func([constant](RCore *core) { return constant; }) {} T Map(RCore *core) const { return func(core); } };