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