fix: CppCheck issues

This commit is contained in:
WerWolv
2025-07-30 17:41:45 +02:00
parent e71e026da0
commit 2c3d8d4c0b
5 changed files with 17 additions and 13 deletions

View File

@@ -58,7 +58,7 @@ namespace hex::plugin::builtin {
}
}
std::string formatAs(Value other) {
std::string formatAs(const Value &other) {
return std::visit([&, this]<typename T>(T value) -> std::string {
auto unit = other.getUnit();