From 1a0b9a46a8d317cccb114323a0544ac2253242b4 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 17 Jan 2024 04:12:13 +0200 Subject: [PATCH] Remove static_assert workaround --- include/boost/system/detail/std_category.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/boost/system/detail/std_category.hpp b/include/boost/system/detail/std_category.hpp index 68073c1..8d9c035 100644 --- a/include/boost/system/detail/std_category.hpp +++ b/include/boost/system/detail/std_category.hpp @@ -51,12 +51,8 @@ public: // here when Id != 0, but this should never happen now because this code // path is no longer used -#if !defined(BOOST_NO_CXX11_STATIC_ASSERT) - static_assert( Id == 0, "This constructor should only be called with Id == 0 under MS STL 14.0+" ); -#endif - #endif }