From 356768f8aa07661f52625f10b90a3affa562dd8a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 2 Jan 2020 21:10:22 +0000 Subject: Update to new NetFS interface --- unittests/config.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'unittests/config.cpp') diff --git a/unittests/config.cpp b/unittests/config.cpp index 460a35f..db7570e 100644 --- a/unittests/config.cpp +++ b/unittests/config.cpp @@ -75,8 +75,7 @@ BOOST_DATA_TEST_CASE(uid_gid_override_list, BOOST_CHECK_NO_THROW(c.s->ice_ping()); auto dir = c.v->opendir(c.env, path); - auto dir2 = Ice::checkedCast(dir); - for (const auto & dirent : dir2->listdir()) { + for (const auto & dirent : dir->listdir()) { BOOST_TEST_CONTEXT(dirent.first) { BOOST_CHECK_EQUAL(dirent.second.uid, uid); BOOST_CHECK_EQUAL(dirent.second.gid, gid); -- cgit v1.2.3