mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
avoided VS constant conditional expression warning
This commit is contained in:
@ -976,7 +976,8 @@ public:
|
||||
std::is_nothrow_move_assignable<Hash>::value&&
|
||||
std::is_nothrow_move_assignable<Pred>::value)
|
||||
{
|
||||
static constexpr auto pocma=
|
||||
/* not constexpr to avoid constant conditional expression warnings in VS */
|
||||
const auto pocma=
|
||||
alloc_traits::propagate_on_container_move_assignment::value;
|
||||
|
||||
/* Avoid using nested lambdas with a `this` capture as it seems to trigger
|
||||
|
Reference in New Issue
Block a user