mirror of
https://github.com/boostorg/variant.git
synced 2026-01-19 04:42:16 +00:00
Fix warning in warning suppression code
MSVC complained that this expression had no effect. Cast to void to silence the warning.
This commit is contained in:
@@ -388,7 +388,7 @@ public: // visitor interfaces
|
||||
|
||||
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x0551)) || \
|
||||
BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1600))
|
||||
operand; // suppresses warnings
|
||||
(void)operand; // suppresses warnings
|
||||
#endif
|
||||
|
||||
BOOST_VARIANT_AUX_RETURN_VOID;
|
||||
|
||||
Reference in New Issue
Block a user