From 8cad01303ff97c929e8b9d25de5a7a5b264e8bb9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 23 Oct 2022 08:20:39 +0200 Subject: kill static_warning --- compat/assert.hpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/compat/assert.hpp b/compat/assert.hpp index c91dd785..eb135aa9 100644 --- a/compat/assert.hpp +++ b/compat/assert.hpp @@ -58,20 +58,3 @@ #ifdef __GNUG__ # pragma GCC diagnostic pop #endif - -namespace floormat { - -template -struct static_warning_ final { - [[deprecated("compile-time warning valuated to 'true'")]] constexpr static_warning_() = default; -}; - -template<> -struct static_warning_ final { - constexpr static_warning_() = default; -}; - -#define static_warning(...) do { (void)static_warning_<(__VA_ARGS__)>{}; } while(false) - -} // namespace floormat - -- cgit v1.2.3