Revert D5278412: [Folly] Merge StringBase.cpp and String.cpp
[folly.git] / folly / IPAddressException.h
index 1b5253ea4e90d6fd45c92f9b0bbd52548f1cefaf..86f8a5ac8dc59dfa8887a82c1aea1c9ba7f03c66 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -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();
   }