diff options
Diffstat (limited to 'compat')
-rw-r--r-- | compat/assert.hpp | 17 |
1 files changed, 0 insertions, 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<bool> -struct static_warning_ final { - [[deprecated("compile-time warning valuated to 'true'")]] constexpr static_warning_() = default; -}; - -template<> -struct static_warning_<true> final { - constexpr static_warning_() = default; -}; - -#define static_warning(...) do { (void)static_warning_<(__VA_ARGS__)>{}; } while(false) - -} // namespace floormat - |