add LockTraits
[folly.git] / folly / IPAddressException.h
index 4b15855a0872b9bba2d5720746ad3e0727454967..9ef8ca85c51050b95d412b2cc8ae20e30857012b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2016 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -32,7 +32,7 @@ class IPAddressFormatException : public std::exception {
   explicit IPAddressFormatException(const std::string& msg)
       : msg_(msg) {}
   IPAddressFormatException(
-    const IPAddressFormatException& exception_) = default;
+    const IPAddressFormatException&) = default;
   template<typename... Args>
   explicit IPAddressFormatException(Args&&... args)
       : msg_(to<std::string>(std::forward<Args>(args)...)) {}
@@ -51,7 +51,7 @@ class InvalidAddressFamilyException : public IPAddressFormatException {
   explicit InvalidAddressFamilyException(const std::string& msg)
       : IPAddressFormatException(msg) {}
   InvalidAddressFamilyException(
-    const InvalidAddressFamilyException& ex) = default;
+    const InvalidAddressFamilyException&) = default;
   explicit InvalidAddressFamilyException(sa_family_t family)
       : IPAddressFormatException("Address family " +
                                  detail::familyNameStr(family) +