Bug 1318299 - Use C++11's override and remove virtual where applicable in security/manager. draft
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Thu, 17 Nov 2016 13:43:21 +0200
changeset 441033 f66c883fc48df3f0cb529ddda74a6a220bd50ccb
parent 441032 72cd9a36536edcb6e1dff3e74dfcafc33acc10cb
child 537474 640215636cabe0782ecd091f22cf093575b1e90f
push id36337
push userbmo:bpostelnicu@mozilla.com
push dateFri, 18 Nov 2016 08:49:28 +0000
bugs1318299
milestone53.0a1
Bug 1318299 - Use C++11's override and remove virtual where applicable in security/manager. MozReview-Commit-ID: C9679I9oJ6N
security/manager/ssl/tests/gtest/DataStorageTest.cpp
--- a/security/manager/ssl/tests/gtest/DataStorageTest.cpp
+++ b/security/manager/ssl/tests/gtest/DataStorageTest.cpp
@@ -14,17 +14,17 @@
 #include "nsStreamUtils.h"
 #include "prtime.h"
 
 using namespace mozilla;
 
 class psm_DataStorageTest : public ::testing::Test
 {
 protected:
-  virtual void SetUp()
+  void SetUp() override
   {
     const ::testing::TestInfo* const testInfo =
       ::testing::UnitTest::GetInstance()->current_test_info();
     NS_ConvertUTF8toUTF16 testName(testInfo->name());
     storage = DataStorage::Get(testName);
     storage->Init(dataWillPersist);
   }