minor from clang-tidy

This commit is contained in:
Erik Frojdh
2020-02-04 10:36:03 +01:00
parent b9446f40d1
commit 40bfca588b
4 changed files with 9 additions and 15 deletions

View File

@ -217,7 +217,7 @@ void ClientInterface::modeNotImplemented(const std::string &modename,
}
template <typename T>
void ClientInterface::validate(T arg, T retval, std::string modename,
void ClientInterface::validate(T arg, T retval, const std::string& modename,
numberMode hex) {
if (ret == OK && arg != -1 && retval != arg) {
auto format = (hex == HEX) ? std::hex : std::dec;