mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 13:26:28 +00:00
cppcheck has a problem
cppcheck (via Codacy) had a problem with the form `T & T` so used `auto & T` This is probably a bug in cppcheck but reported to Codacy in case it's their fault since the message form was for && and this was just &.
This commit is contained in:
parent
45d101e8ca
commit
59554ca0cd
@ -270,7 +270,7 @@ namespace {
|
||||
void test_tip_resolutions(const resolution_list& resolutions
|
||||
, const std::string& id)
|
||||
{
|
||||
for(const resolution& resolution : resolutions) {
|
||||
for(const auto& resolution : resolutions) {
|
||||
std::set<std::string>& list = gui2::unit_test_registered_window_list();
|
||||
list.erase(id);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user