forked from boostorg/core
Silenced warnings about unused variables.
This commit is contained in:
@@ -20,6 +20,7 @@ X const crv() { return X(); }
|
||||
int main()
|
||||
{
|
||||
boost::reference_wrapper<X const> r = boost::cref( crv() ); // must fail
|
||||
(void)r;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user