mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
fix test
This commit is contained in:
parent
e7a79b31ea
commit
cc756cb22d
2 changed files with 6 additions and 5 deletions
|
@ -10,6 +10,7 @@
|
|||
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/assert.hpp>
|
||||
#ifdef TESTSPR_CONFIG_ENABLE_STATIC_WARNING
|
||||
# include <sprout/static_warning.hpp>
|
||||
|
@ -58,11 +59,11 @@ namespace testspr {
|
|||
//
|
||||
// TESTSPR_BOTH_ASSERT
|
||||
//
|
||||
#ifndef SPROUT_CONFIG_DISABLE_CONSTEXPR
|
||||
#if !defined(SPROUT_CONFIG_DISABLE_CONSTEXPR) && !defined(SPROUT_NO_STATIC_CONSTEXPR_INITIALIZATION)
|
||||
# define TESTSPR_BOTH_ASSERT(expr) TESTSPR_STATIC_ASSERT(expr); TESTSPR_ASSERT(expr)
|
||||
#else // #ifndef SPROUT_CONFIG_DISABLE_CONSTEXPR
|
||||
#else
|
||||
# define TESTSPR_BOTH_ASSERT(expr) TESTSPR_ASSERT(expr)
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_CONSTEXPR
|
||||
#endif
|
||||
|
||||
//
|
||||
// TESTSPR_STATIC_WARNING
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue