Apply clang-format-11
[alexxy/gromacs.git] / src / gromacs / utility / keyvaluetreetransform.cpp
index 6c72642c69b995f91a6fbf0d5e77753fde72eca0..e3060b14a831401af9eb6c097a98539f1066918d 100644 (file)
@@ -65,8 +65,7 @@ class KeyValueTreeTransformRulesScoped::Impl : public IKeyValueTreeTransformRule
 {
 public:
     Impl(internal::KeyValueTreeTransformerImpl* impl, const KeyValueTreePath& prefix) :
-        impl_(impl),
-        prefix_(prefix)
+        impl_(impl), prefix_(prefix)
     {
     }
 
@@ -97,8 +96,8 @@ KeyValueTreeTransformRulesScoped::KeyValueTreeTransformRulesScoped(internal::Key
 
 KeyValueTreeTransformRulesScoped::KeyValueTreeTransformRulesScoped(KeyValueTreeTransformRulesScoped&&) noexcept = default;
 
-KeyValueTreeTransformRulesScoped& KeyValueTreeTransformRulesScoped::
-                                  operator=(KeyValueTreeTransformRulesScoped&&) noexcept = default;
+KeyValueTreeTransformRulesScoped&
+KeyValueTreeTransformRulesScoped::operator=(KeyValueTreeTransformRulesScoped&&) noexcept = default;
 
 KeyValueTreeTransformRulesScoped::~KeyValueTreeTransformRulesScoped() {}
 
@@ -198,8 +197,7 @@ public:
         typedef std::map<std::string, Rule, StringCompare> ChildRuleMap;
 
         explicit Rule(StringCompareType keyMatchType) :
-            expectedType_(typeid(void)),
-            childRules_(keyMatchType)
+            expectedType_(typeid(void)), childRules_(keyMatchType)
         {
         }
 
@@ -257,8 +255,7 @@ public:
     {
     public:
         explicit Transformer(IKeyValueTreeErrorHandler* errorHandler) :
-            errorHandler_(errorHandler),
-            backMapping_(new KeyValueTreeBackMapping)
+            errorHandler_(errorHandler), backMapping_(new KeyValueTreeBackMapping)
         {
             if (errorHandler_ == nullptr)
             {
@@ -507,8 +504,7 @@ public:
 
 KeyValueTreeTransformRuleBuilder::KeyValueTreeTransformRuleBuilder(internal::KeyValueTreeTransformerImpl* impl,
                                                                    const KeyValueTreePath& prefix) :
-    impl_(impl),
-    data_(new Data(prefix))
+    impl_(impl), data_(new Data(prefix))
 {
 }