mirror of
https://github.com/boostorg/static_string.git
synced 2025-07-31 04:57:32 +02:00
Fix msvc warning
This commit is contained in:
@ -566,11 +566,11 @@ 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 cstatic_string().size() +
|
return bool(cstatic_string().size() +
|
||||||
cstatic_string().empty() +
|
|
||||||
cstatic_string().length() +
|
cstatic_string().length() +
|
||||||
cstatic_string().max_size() +
|
cstatic_string().max_size() +
|
||||||
cstatic_string().capacity();
|
cstatic_string().capacity()) &&
|
||||||
|
cstatic_string().empty());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
} // static_strings
|
} // static_strings
|
||||||
|
Reference in New Issue
Block a user