metrics: Replace 'OVERRIDE' with 'override' and fix linter
Replace OVERRIDE macro with native C++ 'override' keyword.
Also fixed the style issue of using both 'override' and 'virtual'
on member function overrides. Only one is required and cpplint
complains if both are specified now.
And since gobi-chromo-plugin is the only project that uses
libmetrics and is not C++11 yet, enabled C++11 features
in its makefile to allow for the 'override' keywords to
compile in the included metrics/metrics_library.h header.
TEST=USE="cellular buffet" ./build_packages
Reviewed-by: Ben Chan <email@example.com>
Commit-Queue: Alex Vakulenko <firstname.lastname@example.org>
Tested-by: Alex Vakulenko <email@example.com>
7 files changed