Index: tools/gn/builder_unittest.cc |
diff --git a/tools/gn/builder_unittest.cc b/tools/gn/builder_unittest.cc |
index b9b7e5fb50b75b267ef208426a6c0a88d19eda32..aaa1d8e75b02573b3bc873c55d4de562efc0f867 100644 |
--- a/tools/gn/builder_unittest.cc |
+++ b/tools/gn/builder_unittest.cc |
@@ -17,18 +17,14 @@ class MockLoader : public Loader { |
} |
// Loader implementation: |
- virtual void Load(const SourceFile& file, |
- const LocationRange& origin, |
- const Label& toolchain_name) OVERRIDE { |
+ void Load(const SourceFile& file, |
+ const LocationRange& origin, |
+ const Label& toolchain_name) OVERRIDE { |
files_.push_back(file); |
} |
- virtual void ToolchainLoaded(const Toolchain* toolchain) OVERRIDE { |
- } |
- virtual Label GetDefaultToolchain() const OVERRIDE { |
- return Label(); |
- } |
- virtual const Settings* GetToolchainSettings( |
- const Label& label) const OVERRIDE { |
+ void ToolchainLoaded(const Toolchain* toolchain) OVERRIDE {} |
+ Label GetDefaultToolchain() const OVERRIDE { return Label(); } |
+ const Settings* GetToolchainSettings(const Label& label) const OVERRIDE { |
return NULL; |
} |
@@ -52,7 +48,7 @@ class MockLoader : public Loader { |
} |
private: |
- virtual ~MockLoader() {} |
+ ~MockLoader() override {} |
std::vector<SourceFile> files_; |
}; |