diff --git a/src/em/Parser.cpp b/src/em/Parser.cpp index 2bd1a46..df45c30 100644 --- a/src/em/Parser.cpp +++ b/src/em/Parser.cpp @@ -1,5 +1,6 @@ #include "Parser.h" +#include #include #include "ast/Program.h" diff --git a/src/em/values/sets/MaterialSetValue.h b/src/em/values/sets/MaterialSetValue.h index b50d0f1..39c52e5 100644 --- a/src/em/values/sets/MaterialSetValue.h +++ b/src/em/values/sets/MaterialSetValue.h @@ -8,11 +8,11 @@ namespace em::values::sets { struct ValuePtrHash { - constexpr std::size_t operator()(const std::shared_ptr& value) const { return value->hash(); } + std::size_t operator()(const std::shared_ptr& value) const { return value->hash(); } }; struct ValuePtrEq { - constexpr bool operator()(const std::shared_ptr& a, const std::shared_ptr& b) const { + bool operator()(const std::shared_ptr& a, const std::shared_ptr& b) const { return *a == *b; } }; @@ -42,4 +42,4 @@ namespace em::values::sets { private: ValuesSet mValues{}; }; -} // namespace em::values::sets \ No newline at end of file +} // namespace em::values::sets