2
0
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:
Marcel Raad
2017-07-13 16:17:25 +02:00
parent 15689b8e4f
commit 5e8814db76

View File

@@ -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;