summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-23 08:20:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-23 08:20:39 +0200
commit8cad01303ff97c929e8b9d25de5a7a5b264e8bb9 (patch)
tree76ba1647d8e6bf46a15c8af61a19ebea62723d50 /compat
parente60367f8a5572f173b17cd127e85b20e2a1c59a7 (diff)
kill static_warning
Diffstat (limited to 'compat')
-rw-r--r--compat/assert.hpp17
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
-