aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/server/proton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/server/proton.cpp')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/proton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/proton.cpp b/searchcore/src/vespa/searchcore/proton/server/proton.cpp
index fd6f785fa58..871a72de3ca 100644
--- a/searchcore/src/vespa/searchcore/proton/server/proton.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/proton.cpp
@@ -601,7 +601,7 @@ Proton::addDocumentDB(const document::DocumentType &docType,
}
vespalib::string db_dir = config.basedir + "/documents/" + docTypeName.toString();
- vespalib::mkdir(db_dir, false); // Assume parent is created.
+ std::filesystem::create_directory(std::filesystem::path(db_dir)); // Assume parent is created.
auto config_store = std::make_unique<FileConfigManager>(_transport, db_dir + "/config",
documentDBConfig->getConfigId(), docTypeName.getName());
config_store->setProtonConfig(bootstrapConfig->getProtonConfigSP());