1
0
forked from boostorg/core

Silenced warnings about unused variables.

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

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