Skip to content
Snippets Groups Projects
Commit c7d8b2d9 authored by Tom Fischer's avatar Tom Fischer
Browse files

[Mat/MPL] Generalize checkRequiredProperties.

parent ea9120b9
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment