diff --git a/apps/openmw/mwworld/cellstore.cpp b/apps/openmw/mwworld/cellstore.cpp index cab0606bfe..9117e40de0 100644 --- a/apps/openmw/mwworld/cellstore.cpp +++ b/apps/openmw/mwworld/cellstore.cpp @@ -5,6 +5,7 @@ #include +#include #include #include #include diff --git a/components/CMakeLists.txt b/components/CMakeLists.txt index 9dc752e4aa..f418fe669c 100644 --- a/components/CMakeLists.txt +++ b/components/CMakeLists.txt @@ -197,7 +197,7 @@ add_component_dir (esm4 add_component_dir (misc constants utf8stream resourcehelpers rng messageformatparser weakcache thread - compression osguservalues errorMarker color + compression osguservalues errorMarker color tuplemeta tuplehelpers ) add_component_dir (stereo diff --git a/components/misc/tuplemeta.hpp b/components/misc/tuplemeta.hpp index af92066959..fda6fb32e3 100644 --- a/components/misc/tuplemeta.hpp +++ b/components/misc/tuplemeta.hpp @@ -30,12 +30,6 @@ namespace Misc { static constexpr std::size_t value = 1 + TupleTypeIndex>::value; }; - - template - void tupleForEach(TupleType& tuple, Callable&& f) - { - std::apply([&f](auto& ...x) {(f(x), ...); }, tuple); - } } #endif