/*
- * Copyright 2015 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.
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)...)) {}
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) +