Drop redundant void parameters from function declarations
[folly.git] / folly / IPAddressException.h
index 82d5d0440badcea991ee776b06860ffaf240c6a5..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();
   }