From 4766b404d5fa96fbb23a121cbe01336d1eb7dd29 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 13 Jan 2024 07:48:51 +0100 Subject: fix msvc --- compat/map.hpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'compat') diff --git a/compat/map.hpp b/compat/map.hpp index 7983a805..3c1610d4 100644 --- a/compat/map.hpp +++ b/compat/map.hpp @@ -14,11 +14,6 @@ constexpr auto map0(const F& fun, const std::array& array, std::index_sequ return std::array { fun(array[Indexes])... }; } -#ifdef _MSC_VER -#pragma warning(push) -#pragma warning(disable : 4996) -#endif - template [[deprecated("zero-length array!")]] CORRADE_ALWAYS_INLINE @@ -27,10 +22,6 @@ constexpr auto map0(const F&, const std::array&, std::index_sequence<>) return std::array, const std::remove_cvref_t&>>, 0>{}; } -#ifdef _MSC_VER -#pragma warning(pop) -#endif - } // namespace floormat::detail::map namespace floormat { -- cgit v1.2.3