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();
}
default;
};
-} // folly
+} // namespace folly