From bebeff88811183c2cd905c3cd03d7e5043e39e75 Mon Sep 17 00:00:00 2001 From: elsid Date: Sun, 30 Jan 2022 02:19:13 +0100 Subject: [PATCH] Fix build with libc++ /home/elsid/dev/openmw/components/esm3/objectstate.cpp:33:30: error: implicit instantiation of undefined template 'std::array' std::array pos; ^ /usr/bin/../include/c++/v1/__tuple:219:64: note: template is declared here template struct _LIBCPP_TEMPLATE_VIS array; ^ /home/elsid/dev/openmw/components/esm3/objectstate.cpp:78:30: error: implicit instantiation of undefined template 'std::array' std::array pos; ^ /usr/bin/../include/c++/v1/__tuple:219:64: note: template is declared here template struct _LIBCPP_TEMPLATE_VIS array; ^ --- components/esm3/objectstate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/esm3/objectstate.cpp b/components/esm3/objectstate.cpp index dd400c0024..11fa81b7d8 100644 --- a/components/esm3/objectstate.cpp +++ b/components/esm3/objectstate.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #include "esmreader.hpp" #include "esmwriter.hpp"