Add utility function for loading certificates from a buffer
[folly.git] / folly / IPAddressException.h
index 86f8a5ac8dc59dfa8887a82c1aea1c9ba7f03c66..37a163efd82f17d8739ea90865a8f2752135370f 100644 (file)
@@ -38,7 +38,7 @@ class IPAddressFormatException : public std::exception {
   IPAddressFormatException& operator=(IPAddressFormatException&&) = default;
 
   ~IPAddressFormatException() noexcept override {}
-  const char* what(void) const noexcept override {
+  const char* what() const noexcept override {
     return msg_.c_str();
   }
 
@@ -62,4 +62,4 @@ class InvalidAddressFamilyException : public IPAddressFormatException {
       default;
 };
 
-}  // folly
+} // namespace folly