Silenced warnings about unused variables.

This commit is contained in:
Andrey Semashev
2016-11-07 17:50:58 +03:00
parent 399ef5207e
commit a1ba85e5f6
7 changed files with 7 additions and 0 deletions

View File

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