forked from boostorg/concept_check
ignore unused variable in test (fix matrix warning)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <boost/concept/usage.hpp>
|
||||
#include <boost/core/ignore_unused.hpp>
|
||||
|
||||
template <class T>
|
||||
struct StringInitializable
|
||||
@@ -11,6 +12,7 @@ struct StringInitializable
|
||||
BOOST_CONCEPT_USAGE(StringInitializable)
|
||||
{
|
||||
T x = "foo";
|
||||
boost::ignore_unused(x);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user