]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4095] reindent
authorFrancis Dupont <fdupont@isc.org>
Wed, 11 Nov 2015 15:21:04 +0000 (16:21 +0100)
committerFrancis Dupont <fdupont@isc.org>
Wed, 11 Nov 2015 15:21:04 +0000 (16:21 +0100)
src/lib/dhcpsrv/client_class_def.cc

index 929f4ff833aa1503b5de5ca6365f49d27918cd81..fc5c06409a5a9f842a5d698f6580b708f1201a0a 100644 (file)
@@ -20,9 +20,10 @@ namespace dhcp {
 //********** ClientClassDef ******************//
 
 ClientClassDef::ClientClassDef(const std::string& name,
-                         const ExpressionPtr& match_expr,
-                         const OptionCollectionPtr& options)
+                               const ExpressionPtr& match_expr,
+                               const OptionCollectionPtr& options)
     : name_(name), match_expr_(match_expr), options_(options) {
+
     // Name can't be blank
     if (name_.empty()) {
         isc_throw(BadValue, "ClientClassDef name cannot be empty");
@@ -45,7 +46,7 @@ ClientClassDef::getName() const {
 
 void
 ClientClassDef::setName(const std::string& name) {
-  name_ = name;
+    name_ = name;
 }
 
 const ExpressionPtr&
@@ -55,7 +56,7 @@ ClientClassDef::getMatchExpr() const {
 
 void
 ClientClassDef::setMatchExpr(const ExpressionPtr& match_expr) {
-  match_expr_ = match_expr;
+    match_expr_ = match_expr;
 }
 
 const OptionCollectionPtr&
@@ -96,8 +97,8 @@ ClientClassDictionary::~ClientClassDictionary() {
 
 void
 ClientClassDictionary::addClass(const std::string& name,
-                          const ExpressionPtr& match_expr,
-                          const OptionCollectionPtr& options) {
+                                const ExpressionPtr& match_expr,
+                                const OptionCollectionPtr& options) {
     ClientClassDefPtr cclass(new ClientClassDef(name, match_expr, options));
     addClass(cclass);
 }
@@ -114,7 +115,7 @@ ClientClassDictionary::addClass(ClientClassDefPtr& class_def) {
                   << class_def->getName() << " has already been defined");
     }
 
-   (*classes_)[class_def->getName()] = class_def;
+    (*classes_)[class_def->getName()] = class_def;
 }
 
 ClientClassDefPtr