forked from boostorg/core
Silenced warnings about unused variables.
This commit is contained in:
1 parent
5507006fc2
commit
c0f277a7d8
7 files changed
+7
No files matched your search
@@ -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