2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 13:07:50 +00:00

[2316] Replace constructor with default param values with constructor

without parameters.

Having constructor with default params values caused build issues on
Mac/clang which complained about not providing constructor's params and ignores
default ones.
This commit is contained in:
Marcin Siodelski 2012-10-23 15:51:15 +02:00
parent 9bb3d27efd
commit 6c12b4328d

View File

@ -96,12 +96,8 @@ public:
typedef typename KeyExtractor1::result_type result_type; typedef typename KeyExtractor1::result_type result_type;
/// @brief Constructor. /// @brief Constructor.
/// KeyFromKey()
/// @param key1 first key extractor : key1_(KeyExtractor1()), key2_(KeyExtractor2()) { };
/// @param key2 second key extractor
KeyFromKey(const KeyExtractor1 key1 = KeyExtractor1(),
const KeyExtractor2 key2 = KeyExtractor2())
: key1_(key1), key2_(key2) { };
/// @brief Extract key with another key. /// @brief Extract key with another key.
/// ///