Homec4science

Add more override keywords

Authored by Robert Luberda <robert@debian.org> on Oct 9 2019, 21:48.

Description

Add more override keywords

Mark more functions with "override" keyword, just like
it was done in commit 2460f97152c.

This should prevent compiler from complaining while compiling both
user code, and the googletest code itself with the -Wsuggest-override
option turned on; with the exception of:

  • calls to new MOCK_METHOD() in test/gmock-function-mocker_test.cc
  • calls to old MOCK_METHODx()/MOCK_CONST_METHODx() in other unit test files.

Closes #2493

Details

Committed
Robert Luberda <robert@debian.org>Oct 11 2019, 23:45
Pushed
trottetDec 4 2019, 13:52
Parents
R9484:ba513d2c9525: Merge pull request #2498 from thejcannon:noexcept_spec
Branches
Unknown
Tags
Unknown

Event Timeline

Robert Luberda <robert@debian.org> committed R9484:3cddd56e195b: Add more override keywords (authored by Robert Luberda <robert@debian.org>).Oct 11 2019, 23:45