summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-13 07:48:51 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-13 07:48:51 +0100
commit4766b404d5fa96fbb23a121cbe01336d1eb7dd29 (patch)
tree46f8f342b6b8c1b7e5093e36e712ca1597a4a528 /compat
parentd87c0cb28720610ca7483f2d8de0613f583dc354 (diff)
fix msvc
Diffstat (limited to 'compat')
-rw-r--r--compat/map.hpp9
1 files changed, 0 insertions, 9 deletions
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<T, N>& array, std::index_sequ
return std::array { fun(array[Indexes])... };
}
-#ifdef _MSC_VER
-#pragma warning(push)
-#pragma warning(disable : 4996)
-#endif
-
template<typename T, typename F>
[[deprecated("zero-length array!")]]
CORRADE_ALWAYS_INLINE
@@ -27,10 +22,6 @@ constexpr auto map0(const F&, const std::array<T, 0>&, std::index_sequence<>)
return std::array<std::decay_t<std::invoke_result_t<std::decay_t<F>, const std::remove_cvref_t<T>&>>, 0>{};
}
-#ifdef _MSC_VER
-#pragma warning(pop)
-#endif
-
} // namespace floormat::detail::map
namespace floormat {