Skip to content

Commit

Permalink
[clang-tidy, tools] Pass by reference instead of value (#1129)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiselik authored Jan 10, 2025
1 parent 7bf3eb6 commit 27b3955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/utils/generators/configurators/config_container.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ConfigContainer {
m_configuration << "testmode " << std::to_string(testMode) << " " << std::to_string(testGroup) << '\n';
}

void saveConfigToFile(std::string filename) {
void saveConfigToFile(const std::string& filename) {
std::ofstream file;
file.open(filename, std::ofstream::binary);
file << m_configuration.str();
Expand Down

0 comments on commit 27b3955

Please sign in to comment.