Repository: mesos Updated Branches: refs/heads/master 053f677ef -> e870bb3ed
Fixed a style issue in version.hpp. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e870bb3e Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e870bb3e Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/e870bb3e Branch: refs/heads/master Commit: e870bb3ed5cc6aa6dca088f7e4c58d6220e02595 Parents: 053f677 Author: Benjamin Mahler <[email protected]> Authored: Thu Aug 6 18:01:24 2015 -0700 Committer: Benjamin Mahler <[email protected]> Committed: Thu Aug 6 18:01:24 2015 -0700 ---------------------------------------------------------------------- .../libprocess/3rdparty/stout/include/stout/version.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/e870bb3e/3rdparty/libprocess/3rdparty/stout/include/stout/version.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/version.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/version.hpp index 22d30eb..450b3a7 100644 --- a/3rdparty/libprocess/3rdparty/stout/include/stout/version.hpp +++ b/3rdparty/libprocess/3rdparty/stout/include/stout/version.hpp @@ -76,19 +76,19 @@ struct Version minorVersion(_minorVersion), patchVersion(_patchVersion) {} - bool operator == (const Version &other) const + bool operator == (const Version& other) const { return majorVersion == other.majorVersion && minorVersion == other.minorVersion && patchVersion == other.patchVersion; } - bool operator != (const Version &other) const + bool operator != (const Version& other) const { return !(*this == other); } - bool operator < (const Version &other) const + bool operator < (const Version& other) const { // Lexicographic ordering. if (majorVersion != other.majorVersion) { @@ -100,7 +100,7 @@ struct Version } } - bool operator > (const Version &other) const + bool operator > (const Version& other) const { // Lexicographic ordering. if (majorVersion != other.majorVersion) { @@ -112,12 +112,12 @@ struct Version } } - bool operator <= (const Version &other) const + bool operator <= (const Version& other) const { return *this < other || *this == other; } - bool operator >= (const Version &other) const + bool operator >= (const Version& other) const { return *this > other || *this == other; }
