1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00

Make constexpr variable defined in header inline

This commit is contained in:
elsid 2022-02-05 16:32:40 +01:00
parent 9584cb7ac2
commit 52b3a87dae
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40

View File

@ -27,7 +27,7 @@ namespace Serialization
struct IsContiguousContainer<std::array<T, n>> : std::true_type {}; struct IsContiguousContainer<std::array<T, n>> : std::true_type {};
template <class T> template <class T>
constexpr bool isContiguousContainer = IsContiguousContainer<std::decay_t<T>>::value; inline constexpr bool isContiguousContainer = IsContiguousContainer<std::decay_t<T>>::value;
template <Mode mode, class Derived> template <Mode mode, class Derived>
struct Format struct Format