Silenced warnings about unused variables.

This commit is contained in:
Andrey Semashev
2016-11-08 16:52:13 +03:00
parent 399ef5207e
commit a1ba85e5f6
7 changed files with 7 additions and 0 deletions
+1
View File
@@ -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