BIND 10 master, updated. 16ba5d5390af42d05d3d877ec6a476f3938b5e4a [master] Fix coding style
BIND 10 source code commits
bind10-changes at lists.isc.org
Sat Aug 17 02:48:51 UTC 2013
The branch, master has been updated
via 16ba5d5390af42d05d3d877ec6a476f3938b5e4a (commit)
from 622e72a46501094b0e1f91b17452448856bced79 (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 16ba5d5390af42d05d3d877ec6a476f3938b5e4a
Author: Mukund Sivaraman <muks at isc.org>
Date: Sat Aug 17 07:46:13 2013 +0530
[master] Fix coding style
-----------------------------------------------------------------------
Summary of changes:
src/lib/dhcpsrv/dhcp_parsers.cc | 60 ++++++++++++++++++++-------------------
1 file changed, 31 insertions(+), 29 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dhcpsrv/dhcp_parsers.cc b/src/lib/dhcpsrv/dhcp_parsers.cc
index fb1b3a0..c5ff41d 100644
--- a/src/lib/dhcpsrv/dhcp_parsers.cc
+++ b/src/lib/dhcpsrv/dhcp_parsers.cc
@@ -42,39 +42,41 @@ const char* ALL_IFACES_KEYWORD = "*";
// *********************** ParserContext *************************
ParserContext::ParserContext(Option::Universe universe):
- boolean_values_(new BooleanStorage()),
- uint32_values_(new Uint32Storage()),
- string_values_(new StringStorage()),
- options_(new OptionStorage()),
- option_defs_(new OptionDefStorage()),
- universe_(universe) {
- }
+ boolean_values_(new BooleanStorage()),
+ uint32_values_(new Uint32Storage()),
+ string_values_(new StringStorage()),
+ options_(new OptionStorage()),
+ option_defs_(new OptionDefStorage()),
+ universe_(universe)
+{
+}
ParserContext::ParserContext(const ParserContext& rhs):
- boolean_values_(new BooleanStorage(*(rhs.boolean_values_))),
- uint32_values_(new Uint32Storage(*(rhs.uint32_values_))),
- string_values_(new StringStorage(*(rhs.string_values_))),
- options_(new OptionStorage(*(rhs.options_))),
- option_defs_(new OptionDefStorage(*(rhs.option_defs_))),
- universe_(rhs.universe_) {
- }
+ boolean_values_(new BooleanStorage(*(rhs.boolean_values_))),
+ uint32_values_(new Uint32Storage(*(rhs.uint32_values_))),
+ string_values_(new StringStorage(*(rhs.string_values_))),
+ options_(new OptionStorage(*(rhs.options_))),
+ option_defs_(new OptionDefStorage(*(rhs.option_defs_))),
+ universe_(rhs.universe_)
+{
+}
ParserContext&
ParserContext::operator=(const ParserContext& rhs) {
- if (this != &rhs) {
- boolean_values_ =
- BooleanStoragePtr(new BooleanStorage(*(rhs.boolean_values_)));
- uint32_values_ =
- Uint32StoragePtr(new Uint32Storage(*(rhs.uint32_values_)));
- string_values_ =
- StringStoragePtr(new StringStorage(*(rhs.string_values_)));
- options_ = OptionStoragePtr(new OptionStorage(*(rhs.options_)));
- option_defs_ =
- OptionDefStoragePtr(new OptionDefStorage(*(rhs.option_defs_)));
- universe_ = rhs.universe_;
- }
- return (*this);
+ if (this != &rhs) {
+ boolean_values_ =
+ BooleanStoragePtr(new BooleanStorage(*(rhs.boolean_values_)));
+ uint32_values_ =
+ Uint32StoragePtr(new Uint32Storage(*(rhs.uint32_values_)));
+ string_values_ =
+ StringStoragePtr(new StringStorage(*(rhs.string_values_)));
+ options_ = OptionStoragePtr(new OptionStorage(*(rhs.options_)));
+ option_defs_ =
+ OptionDefStoragePtr(new OptionDefStorage(*(rhs.option_defs_)));
+ universe_ = rhs.universe_;
}
+ return (*this);
+}
// **************************** DebugParser *************************
@@ -229,7 +231,7 @@ HooksLibrariesParser::HooksLibrariesParser(const std::string& param_name)
}
}
-void
+void
HooksLibrariesParser::build(ConstElementPtr value) {
// Initialize.
libraries_.clear();
@@ -269,7 +271,7 @@ HooksLibrariesParser::build(ConstElementPtr value) {
changed_ = true;
}
-void
+void
HooksLibrariesParser::commit() {
/// Commits the list of libraries to the configuration manager storage if
/// the list of libraries has changed.
More information about the bind10-changes
mailing list