]> granicus.if.org Git - gc/commit
Eliminate 'class defines member variable with name also defined in parent' cppcheck...
authorIvan Maidanski <ivmai@mail.ru>
Tue, 13 Sep 2016 18:53:08 +0000 (21:53 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 13 Sep 2016 18:53:08 +0000 (21:53 +0300)
commit5f8a6e1bdd8cec21724c7f368d373075d99e8a02
treec98e77323e07463203e92c54c0b86d25ea28bd72
parent83b7e0e6ecb27ca2c99a05435cc74ba2db2f959f
Eliminate 'class defines member variable with name also defined in parent' cppcheck warning

* tests/test_cpp.cc (F::nFreed, F::nAllocated): Add 'F' suffix to field name (to avoid
hiding the similar one in the parent class).
tests/test_cpp.cc