summaryrefslogtreecommitdiff
path: root/libdbpp/mockDatabase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libdbpp/mockDatabase.cpp')
-rw-r--r--libdbpp/mockDatabase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbpp/mockDatabase.cpp b/libdbpp/mockDatabase.cpp
index 35fa748..bdc151c 100644
--- a/libdbpp/mockDatabase.cpp
+++ b/libdbpp/mockDatabase.cpp
@@ -46,7 +46,7 @@ void
MockDatabase::PlaySchemaScript(DB::Connection * conn, const std::filesystem::path & s) const
{
std::ifstream f;
- f.open(s.string());
+ f.open(s);
if (!f.good()) {
throw std::fstream::failure("Failed to open mock script: " + s.string());
}