Skip to content

Commit e25d547

Browse files
committed
remove BOOST_STATIC_ASSERT fallback
1 parent 0201abe commit e25d547

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

include/boost/json/detail/config.hpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
#include <boost/config.hpp>
1414
#include <boost/assert.hpp>
15+
#include <boost/static_assert.hpp>
1516
#include <boost/throw_exception.hpp>
1617
#include <cstdint>
1718
#include <type_traits>
@@ -47,10 +48,6 @@
4748
# endif
4849
#endif
4950

50-
#ifndef BOOST_STATIC_ASSERT
51-
#define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__)
52-
#endif
53-
5451
#ifndef BOOST_FALLTHROUGH
5552
#define BOOST_FALLTHROUGH [[fallthrough]]
5653
#endif

0 commit comments

Comments
 (0)