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 7f06b6c..f9c395b 100644
--- a/libdbpp/mockDatabase.cpp
+++ b/libdbpp/mockDatabase.cpp
@@ -27,7 +27,7 @@ MockDatabase::PlaySchemaScripts(const std::vector<std::filesystem::path> & ss) c
{
auto conn = ConnectionPtr(openConnection());
try {
- for (auto s : ss) {
+ for (const auto & s : ss) {
conn->beginTx();
PlaySchemaScript(conn.get(), s);
conn->commitTx();