check const containers

This commit is contained in:
Matei David committed 2014-08-14 16:27:21 -04:00
1 parent 11633b7d24
commit a684df24bd
9 files changed
+25 -25

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ void test_container( Container & c )
BOOST_TEST( it == itend );
BOOST_TEST( c.size() == i );
}
c.check();
static_cast<const Container&>(c).check();
}