1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-19 21:40:45 +00:00

Fix build with libc++

/home/elsid/dev/openmw/components/esm3/objectstate.cpp:33:30: error: implicit instantiation of undefined template 'std::array<float, 6>'
        std::array<float, 6> pos;
                             ^
/usr/bin/../include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
                                                               ^
/home/elsid/dev/openmw/components/esm3/objectstate.cpp:78:30: error: implicit instantiation of undefined template 'std::array<float, 6>'
        std::array<float, 6> pos;
                             ^
/usr/bin/../include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
                                                               ^
This commit is contained in:
elsid 2022-01-30 02:19:13 +01:00
parent e46905450e
commit bebeff8881
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40

View File

@ -3,6 +3,7 @@
#include <stdexcept>
#include <sstream>
#include <typeinfo>
#include <array>
#include "esmreader.hpp"
#include "esmwriter.hpp"