mirror of
https://github.com/boostorg/static_string.git
synced 2026-02-02 21:22:10 +00:00
Remove an unused dependency on Boost.StaticAssert
This closes issue #73.
This commit is contained in:
@@ -139,9 +139,6 @@
|
||||
#ifndef BOOST_STATIC_STRING_THROW
|
||||
#define BOOST_STATIC_STRING_THROW(ex) BOOST_THROW_EXCEPTION(ex)
|
||||
#endif
|
||||
#ifndef BOOST_STATIC_STRING_STATIC_ASSERT
|
||||
#define BOOST_STATIC_STRING_STATIC_ASSERT(cond, msg) BOOST_STATIC_ASSERT_MSG(cond, msg)
|
||||
#endif
|
||||
#ifndef BOOST_STATIC_STRING_ASSERT
|
||||
#define BOOST_STATIC_STRING_ASSERT(cond) BOOST_ASSERT(cond)
|
||||
#endif
|
||||
@@ -149,9 +146,6 @@
|
||||
#ifndef BOOST_STATIC_STRING_THROW
|
||||
#define BOOST_STATIC_STRING_THROW(ex) throw ex
|
||||
#endif
|
||||
#ifndef BOOST_STATIC_STRING_STATIC_ASSERT
|
||||
#define BOOST_STATIC_STRING_STATIC_ASSERT(cond, msg) static_assert(cond, msg)
|
||||
#endif
|
||||
#ifndef BOOST_STATIC_STRING_ASSERT
|
||||
#define BOOST_STATIC_STRING_ASSERT(cond) assert(cond)
|
||||
#endif
|
||||
@@ -161,7 +155,6 @@
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/assert.hpp>
|
||||
#include <boost/container_hash/hash.hpp>
|
||||
#include <boost/static_assert.hpp>
|
||||
#include <boost/utility/string_view.hpp>
|
||||
#include <boost/core/detail/string_view.hpp>
|
||||
#include <boost/throw_exception.hpp>
|
||||
|
||||
Reference in New Issue
Block a user