removed warnings from tests

This commit is contained in:
Andrzej Krzemienski
2016-03-08 18:47:48 +01:00
parent a421444788
commit 0755ab7b4e
3 changed files with 20 additions and 16 deletions

View File

@ -10,6 +10,7 @@
// akrzemi1@gmail.com
//
#include "boost/optional.hpp"
#include "boost/core/ignore_unused.hpp"
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
//
@ -18,6 +19,7 @@
void optional_reference__test_no_init_from_Trefref()
{
boost::optional<const int&> opt = int(3);
boost::ignore_unused(opt);
}
#else