folly: avoid new warnings from -Winconsistent-missing-override
[folly.git] / folly / test / ExceptionWrapperTest.cpp
index bfeac2bcdb6666d62fa4ef9f0be09eee2498b577..96b09334fbcbe0a26cfadb4b846b0ed2b08e778f 100644 (file)
@@ -139,7 +139,7 @@ public:
   explicit IntException(int i)
     : i_(i) {}
 
-  virtual int getInt() const { return i_; }
+  virtual int getInt() const override { return i_; }
   virtual const char* what() const noexcept override {
     what_ = folly::to<std::string>("int == ", i_);
     return what_.c_str();