diff options
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastoreflushtarget.cpp')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastoreflushtarget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastoreflushtarget.cpp b/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastoreflushtarget.cpp index 9f6b1befcdd..53535cddcdf 100644 --- a/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastoreflushtarget.cpp +++ b/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastoreflushtarget.cpp @@ -11,7 +11,7 @@ #include <vespa/searchlib/util/dirtraverse.h> #include <vespa/searchlib/common/serialnumfileheadercontext.h> #include <vespa/searchlib/util/filekit.h> -#include <vespa/vespalib/io/fileutil.h> +#include <filesystem> #include <fstream> #include <vespa/log/log.h> @@ -70,7 +70,7 @@ DocumentMetaStoreFlushTarget::Flusher::~Flusher() = default; bool DocumentMetaStoreFlushTarget::Flusher::saveDocumentMetaStore() { - vespalib::mkdir(_flushDir, false); + std::filesystem::create_directory(std::filesystem::path(_flushDir)); SerialNumFileHeaderContext fileHeaderContext(_dmsft._fileHeaderContext, _syncToken); bool saveSuccess = false; if (_dmsft._hwInfo.disk().slow()) { |