From 2e0ea38d7d31781fec99127e108a3699c612354f Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Mon, 27 Apr 2026 21:14:31 +0100 Subject: [PATCH] Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/libxrpl/rdb/SociDB.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libxrpl/rdb/SociDB.cpp b/src/libxrpl/rdb/SociDB.cpp index 15d743788e..775a1ed1ea 100644 --- a/src/libxrpl/rdb/SociDB.cpp +++ b/src/libxrpl/rdb/SociDB.cpp @@ -43,7 +43,7 @@ getSociSqliteInit(std::string const& name, std::string const& dir, std::string c "Sqlite databases must specify a dir and a name. Name: " + name + " Dir: " + dir); } std::filesystem::path file(dir); - if (is_directory(file)) + if (std::filesystem::is_directory(file)) file /= name + ext; return file.string(); }