aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/attribute/attributedisklayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/attribute/attributedisklayout.cpp')
-rw-r--r--searchcore/src/vespa/searchcore/proton/attribute/attributedisklayout.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attributedisklayout.cpp b/searchcore/src/vespa/searchcore/proton/attribute/attributedisklayout.cpp
index acde52681ad..04e263ae20b 100644
--- a/searchcore/src/vespa/searchcore/proton/attribute/attributedisklayout.cpp
+++ b/searchcore/src/vespa/searchcore/proton/attribute/attributedisklayout.cpp
@@ -5,6 +5,7 @@
#include <vespa/vespalib/io/fileutil.h>
#include <vespa/fastos/file.h>
#include <cassert>
+#include <filesystem>
namespace proton {
@@ -13,7 +14,7 @@ AttributeDiskLayout::AttributeDiskLayout(const vespalib::string &baseDir, Privat
_mutex(),
_dirs()
{
- vespalib::mkdir(_baseDir, false);
+ std::filesystem::create_directory(std::filesystem::path(_baseDir));
vespalib::File::sync(vespalib::dirname(_baseDir));
}