mirror of
https://github.com/boostorg/static_string.git
synced 2025-07-30 04:27:33 +02:00
Fix C4800 on msvc
This commit is contained in:
@ -566,10 +566,10 @@ testConstantEvaluation()
|
|||||||
return true;
|
return true;
|
||||||
#elif defined(BOOST_STATIC_STRING_CPP11)
|
#elif defined(BOOST_STATIC_STRING_CPP11)
|
||||||
// c++11 constexpr tests
|
// c++11 constexpr tests
|
||||||
return bool(cstatic_string().size() +
|
return (cstatic_string().size() +
|
||||||
cstatic_string().length() +
|
cstatic_string().length() +
|
||||||
cstatic_string().max_size() +
|
cstatic_string().max_size() +
|
||||||
cstatic_string().capacity()) &&
|
cstatic_string().capacity()) != 0 &&
|
||||||
cstatic_string().empty();
|
cstatic_string().empty();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user