Revert D5278412: [Folly] Merge StringBase.cpp and String.cpp
[folly.git] / folly / IPAddressException.h
index c2ca1ad428f67aa5d8daf54a70ba59c8211a8223..86f8a5ac8dc59dfa8887a82c1aea1c9ba7f03c66 100644 (file)
@@ -37,8 +37,8 @@ class IPAddressFormatException : public std::exception {
       default;
   IPAddressFormatException& operator=(IPAddressFormatException&&) = default;
 
-  virtual ~IPAddressFormatException() noexcept {}
-  virtual const char *what(void) const noexcept {
+  ~IPAddressFormatException() noexcept override {}
+  const char* what(void) const noexcept override {
     return msg_.c_str();
   }