mirror of
https://github.com/boostorg/optional.git
synced 2025-07-23 09:07:17 +02:00
removed warnings from tests
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user