forked from boostorg/utility
Supply missing #include. Rewrite typedef tests to avoid GCC warnings.
This commit is contained in:
1 parent
270a6c39b5
commit
904e2c3c81
2 files changed
+5
-3
No files matched your search
@@ -464,8 +464,9 @@ namespace
|
||||
|
||||
int cpp_main(int argc, char* argv[])
|
||||
{
|
||||
typedef boost::string_view::traits_type string_traits;
|
||||
typedef boost::string_view::const_pointer const_pointer;
|
||||
// verify traits_type and const_pointer typedefs compile OK
|
||||
BOOST_TEST(boost::string_view::traits_type::eq('x', 'x'));
|
||||
BOOST_TEST_EQ(sizeof(boost::string_view::const_pointer), sizeof(&argc));
|
||||
|
||||
swap_test();
|
||||
copy_test();
|
||||
|
||||
Reference in new issue
Block a user