forked from boostorg/static_string
Genericize exception classes
This commit is contained in:
@ -125,9 +125,6 @@
|
||||
|
||||
// Boost and non-Boost versions of utilities
|
||||
#ifndef BOOST_STATIC_STRING_STANDALONE
|
||||
#ifndef BOOST_STATIC_STRING_THROW_IF
|
||||
#define BOOST_STATIC_STRING_THROW_IF(cond, ex) if (cond) BOOST_STATIC_STRING_UNLIKELY BOOST_THROW_EXCEPTION(ex)
|
||||
#endif
|
||||
#ifndef BOOST_STATIC_STRING_THROW
|
||||
#define BOOST_STATIC_STRING_THROW(ex) BOOST_THROW_EXCEPTION(ex)
|
||||
#endif
|
||||
@ -138,9 +135,6 @@
|
||||
#define BOOST_STATIC_STRING_ASSERT(cond) BOOST_ASSERT(cond)
|
||||
#endif
|
||||
#else
|
||||
#ifndef BOOST_STATIC_STRING_THROW_IF
|
||||
#define BOOST_STATIC_STRING_THROW_IF(cond, ex) if (cond) BOOST_STATIC_STRING_UNLIKELY throw ex
|
||||
#endif
|
||||
#ifndef BOOST_STATIC_STRING_THROW
|
||||
#define BOOST_STATIC_STRING_THROW(ex) throw ex
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user