From 10bef6e57452801a820035665fbe65e16deb28e3 Mon Sep 17 00:00:00 2001 From: Antz Date: Sun, 2 Mar 2025 08:15:55 +0000 Subject: [PATCH] Fix a warning 'passed by const reference.' --- src/shared/Database/Database.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/Database/Database.cpp b/src/shared/Database/Database.cpp index 53765300c..91792431c 100644 --- a/src/shared/Database/Database.cpp +++ b/src/shared/Database/Database.cpp @@ -542,7 +542,7 @@ void PrintNormalYouHaveDatabaseVersion(std::string current_db_version, std::stri sLog.outString(" Description: %s", description.c_str()); } -void PrintErrorYouHaveDatabaseVersion(std::string current_db_version, std::string current_db_structure, std::string current_db_content, std::string description) +void PrintErrorYouHaveDatabaseVersion(std::string ¤t_db_version, std::string current_db_structure, std::string current_db_content, std::string description) { sLog.outErrorDb(" [A] You have database Version: %s", current_db_version.c_str()); sLog.outErrorDb(" Structure: %s", current_db_structure.c_str());