Skip to content

Commit

Permalink
Fix a warning 'passed by const reference.'
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1arm committed Mar 2, 2025
1 parent a984635 commit 10bef6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/Database/Database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 &current_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());
Expand Down

0 comments on commit 10bef6e

Please sign in to comment.