Add missing override and remove redundant virtual in folly
[folly.git] / folly / experimental / symbolizer / test / ElfTests.cpp
index 1b98888a6ff0166770aa33cf1fc319e906ce47b0..5496e92ffa9406fd332d209dd7cc84270ca1fc01 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2015 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
 
 #include <gtest/gtest.h>
 
-#include "folly/experimental/symbolizer/Elf.h"
+#include <folly/experimental/symbolizer/Elf.h>
 
 using folly::symbolizer::ElfFile;
 
@@ -32,8 +32,7 @@ class ElfTest : public ::testing::Test {
 
   ElfTest() : elfFile_(binaryPath.c_str()) {
   }
-  virtual ~ElfTest() {
-  }
+  ~ElfTest() override {}
 
  protected:
   ElfFile elfFile_;
@@ -59,7 +58,7 @@ TEST_F(ElfTest, PointerValue) {
 
 int main(int argc, char** argv) {
   testing::InitGoogleTest(&argc, argv);
-  google::ParseCommandLineFlags(&argc, &argv, true);
+  gflags::ParseCommandLineFlags(&argc, &argv, true);
   ElfTest::binaryPath = argv[0];
   return RUN_ALL_TESTS();
 }