diff options
Diffstat (limited to 'include/mbgl/util/convert.hpp')
-rw-r--r-- | include/mbgl/util/convert.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/util/convert.hpp b/include/mbgl/util/convert.hpp index bedb1a4a08..02ec7feef9 100644 --- a/include/mbgl/util/convert.hpp +++ b/include/mbgl/util/convert.hpp @@ -10,7 +10,7 @@ namespace util { template<typename To, typename From, std::size_t Size, typename = std::enable_if_t<std::is_convertible<From, To>::value>> MBGL_CONSTEXPR std::array<To, Size> convert(const std::array<From, Size>&from) { - std::array<To, Size> to {}; + std::array<To, Size> to {{}}; std::copy(std::begin(from), std::end(from), std::begin(to)); return to; } |