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:
Gregory A Lundberg 2018-01-24 22:31:18 -06:00
parent 45d101e8ca
commit 59554ca0cd
No known key found for this signature in database
GPG Key ID: 149484078AE8AE9E

View File

@ -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);