Skip to content

Commit

Permalink
Update {virtual,override} to follow C++11 style in chrome_elf.
Browse files Browse the repository at this point in the history
The Google style guide states that only one of {virtual,override,final} should be used for each declaration, since override implies virtual and final implies both virtual and override.

This patch was manually generated using a regex and a text editor.

BUG=417463

Review URL: https://codereview.chromium.org/1106533003

Cr-Commit-Position: refs/heads/master@{#326454}
  • Loading branch information
nick-chromium authored and Commit bot committed Apr 23, 2015
1 parent e81b334 commit 5c1d060
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chrome_elf/chrome_elf_util_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class ChromeElfUtilTest :
const char*,
const char*> > {
protected:
virtual void SetUp() override {
void SetUp() override {
override_manager_.OverrideRegistry(HKEY_LOCAL_MACHINE);
override_manager_.OverrideRegistry(HKEY_CURRENT_USER);
const char* app;
Expand Down
2 changes: 1 addition & 1 deletion chrome_elf/create_file/chrome_create_file_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class ChromeCreateFileTest : public PlatformTest {
path);
}

virtual void SetUp() override {
void SetUp() override {
original_thread_ = base::PlatformThread::CurrentId();
InitCache();
PlatformTest::SetUp();
Expand Down
2 changes: 1 addition & 1 deletion chrome_elf/ntdll_cache_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace {

class NTDLLCacheTest : public testing::Test {
protected:
virtual void SetUp() override {
void SetUp() override {
InitCache();
}

Expand Down

0 comments on commit 5c1d060

Please sign in to comment.