summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2022-06-02 16:35:21 +0200
committerTor Egge <Tor.Egge@online.no>2022-06-02 19:22:21 +0200
commit914317d3db05758483eaea09a60ef8bfa3981948 (patch)
tree7b94d14f6215b8b66becb869e1b08c59d81a05e6 /searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
parenta51340034f1b4bc98096613af8f5736a2c974c96 (diff)
Remove most use of vespalib::rmdir in searchcore.
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp')
-rw-r--r--searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp b/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
index 8ef2742b6d8..f9518cb1b5e 100644
--- a/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
+++ b/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
@@ -35,7 +35,7 @@
#include <vespa/vespalib/util/lambdatask.h>
#include <vespa/vespalib/util/exceptions.h>
#include <vespa/vespalib/util/size_literals.h>
-#include <vespa/vespalib/io/fileutil.h>
+#include <filesystem>
#include <vespa/log/log.h>
LOG_SETUP("feedhandler_test");
@@ -784,5 +784,5 @@ TEST_MAIN()
{
DummyFileHeaderContext::setCreator("feedhandler_test");
TEST_RUN_ALL();
- vespalib::rmdir("mytlsdir", true);
+ std::filesystem::remove_all(std::filesystem::path("mytlsdir"));
}