diff --git a/MaterialLib/MPL/Phase.h b/MaterialLib/MPL/Phase.h index b7e6778ca47327bf51596682f4bc66f50e73790a..2f1b1ab0953256f51d230a37d9a1fefb6a9b47f3 100644 --- a/MaterialLib/MPL/Phase.h +++ b/MaterialLib/MPL/Phase.h @@ -52,9 +52,8 @@ public: std::string name() const; - template <size_t N> - void checkRequiredProperties( - std::array<PropertyType, N> const& required_properties) const + template <typename Container> + void checkRequiredProperties(Container const& required_properties) const { for (auto const& p : required_properties) {