BIND 10 trac2316, updated. 6c12b4328d0c49d039abc56ee22e09f8ca431647 [2316] Replace constructor with default param values with constructor without parameters.
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Oct 23 13:51:29 UTC 2012
The branch, trac2316 has been updated
via 6c12b4328d0c49d039abc56ee22e09f8ca431647 (commit)
from 9bb3d27efdf09dd2e429086767cdee275f3df115 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6c12b4328d0c49d039abc56ee22e09f8ca431647
Author: Marcin Siodelski <marcin at isc.org>
Date: Tue Oct 23 15:51:15 2012 +0200
[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.
-----------------------------------------------------------------------
Summary of changes:
src/lib/dhcp/subnet.h | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/subnet.h b/src/lib/dhcp/subnet.h
index 21708c5..df9c6af 100644
--- a/src/lib/dhcp/subnet.h
+++ b/src/lib/dhcp/subnet.h
@@ -96,12 +96,8 @@ public:
typedef typename KeyExtractor1::result_type result_type;
/// @brief Constructor.
- ///
- /// @param key1 first key extractor
- /// @param key2 second key extractor
- KeyFromKey(const KeyExtractor1 key1 = KeyExtractor1(),
- const KeyExtractor2 key2 = KeyExtractor2())
- : key1_(key1), key2_(key2) { };
+ KeyFromKey()
+ : key1_(KeyExtractor1()), key2_(KeyExtractor2()) { };
/// @brief Extract key with another key.
///
More information about the bind10-changes
mailing list