diff --git a/components/openmw-mp/Utils.hpp b/components/openmw-mp/Utils.hpp index abeae9cb5..74101f038 100644 --- a/components/openmw-mp/Utils.hpp +++ b/components/openmw-mp/Utils.hpp @@ -28,8 +28,8 @@ namespace Utils bool compareDoubles(double a, double b, double epsilon); - template - bool vectorContains(const std::vector &vectorChecked, const Type &value) + template + bool vectorContains(const std::vector &vectorChecked, const Type2 &value) { return std::find(vectorChecked.begin(), vectorChecked.end(), value) != vectorChecked.end(); }