mirror of
https://github.com/boostorg/filesystem.git
synced 2025-05-12 13:41:47 +00:00
Removed use of deprecated API.
This commit is contained in:
parent
9a14c37d6f
commit
33806dc726
@ -121,13 +121,13 @@ int cpp_main(int, char*[])
|
||||
|
||||
it = fs::recursive_directory_iterator(unique_dir);
|
||||
BOOST_TEST(it->path() == unique_yy);
|
||||
BOOST_TEST(it.level() == 0);
|
||||
BOOST_TEST(it.depth() == 0);
|
||||
++it;
|
||||
BOOST_TEST(it->path() == unique_yy_zz);
|
||||
BOOST_TEST(it.level() == 1);
|
||||
BOOST_TEST(it.depth() == 1);
|
||||
it.pop();
|
||||
BOOST_TEST(it->path() == unique_yya);
|
||||
BOOST_TEST(it.level() == 0);
|
||||
BOOST_TEST(it.depth() == 0);
|
||||
it++;
|
||||
BOOST_TEST(it == fs::recursive_directory_iterator());
|
||||
|
||||
@ -147,10 +147,10 @@ int cpp_main(int, char*[])
|
||||
|
||||
it = fs::recursive_directory_iterator(unique_dir);
|
||||
BOOST_TEST(it->path() == unique_yy);
|
||||
BOOST_TEST(it.level() == 0);
|
||||
BOOST_TEST(it.depth() == 0);
|
||||
++it;
|
||||
BOOST_TEST(it->path() == unique_yy_zz);
|
||||
BOOST_TEST(it.level() == 1);
|
||||
BOOST_TEST(it.depth() == 1);
|
||||
it++;
|
||||
BOOST_TEST(it == fs::recursive_directory_iterator());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user