mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Fixes for multiple new issues from Sonar
This commit is contained in:
@@ -159,7 +159,7 @@ public:
|
||||
return std::vector<BattleHex>(internalStorage.begin(), internalStorage.end());
|
||||
}
|
||||
|
||||
[[nodiscard]] std::string toString(std::string delimiter = ", ") const noexcept
|
||||
[[nodiscard]] std::string toString(const std::string & delimiter = ", ") const noexcept
|
||||
{
|
||||
std::string result = "[";
|
||||
for(auto it = internalStorage.begin(); it != internalStorage.end(); ++it)
|
||||
|
||||
Reference in New Issue
Block a user