Apply clang-format to source tree
[alexxy/gromacs.git] / src / api / cpp / version.cpp
index 6617d36daf3082c5274a486619f3b49dc44a02d5..6a06b3c173474767a882b2b0bbd363f84b6627d9 100644 (file)
@@ -60,7 +60,7 @@ std::string Version::release()
     return c_release;
 }
 
-bool Version::hasFeature(const std::string &featurename)
+bool Version::hasFeature(const std::stringfeaturename)
 {
     // For features introduced without an incompatible API change or where
     // semantic versioning is otherwise insufficient, we can consult a map, TBD.
@@ -68,9 +68,7 @@ bool Version::hasFeature(const std::string &featurename)
     return false;
 }
 
-bool Version::isAtLeast(version_t major,
-                        version_t minor,
-                        version_t patch)
+bool Version::isAtLeast(version_t major, version_t minor, version_t patch)
 {
     if (Version::majorVersion() < major)
     {