Remove Boost.Typeof

This commit is contained in:
Alexander Grund 2020-07-10 20:21:51 +02:00
parent 908ca385b9
commit ed8c58d813
No known key found for this signature in database
GPG key ID: AA48A0760367A42B

View file

@ -8,7 +8,6 @@
#include <turtle/constraints.hpp> #include <turtle/constraints.hpp>
#include <boost/test/auto_unit_test.hpp> #include <boost/test/auto_unit_test.hpp>
#include <boost/typeof/typeof.hpp>
BOOST_AUTO_TEST_CASE( all_comparison_constraints_can_be_instanciated ) BOOST_AUTO_TEST_CASE( all_comparison_constraints_can_be_instanciated )
{ {
@ -48,7 +47,7 @@ BOOST_AUTO_TEST_CASE( equal_constraint )
BOOST_CHECK( ! mock::equal( std::string( "string" ) ).c_( "not string" ) ); BOOST_CHECK( ! mock::equal( std::string( "string" ) ).c_( "not string" ) );
{ {
std::string s; std::string s;
BOOST_AUTO( c, mock::equal( std::cref( s ) ) ); auto c = mock::equal( std::cref( s ) );
s = "string"; s = "string";
BOOST_CHECK( c.c_( "string" ) ); BOOST_CHECK( c.c_( "string" ) );
} }