Silenced warnings about unused variables.

This commit is contained in:
Andrey Semashev committed 2016-11-07 17:56:45 +03:00
1 parent 5507006fc2
commit c0f277a7d8
7 files changed
+7

No files matched your search

+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