Add utility function for loading certificates from a buffer
[folly.git] / folly / IPAddressException.h
index c2ca1ad428f67aa5d8daf54a70ba59c8211a8223..37a163efd82f17d8739ea90865a8f2752135370f 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() const noexcept override {
     return msg_.c_str();
   }
 
@@ -62,4 +62,4 @@ class InvalidAddressFamilyException : public IPAddressFormatException {
       default;
 };
 
-}  // folly
+} // namespace folly