Repository: mesos
Updated Branches:
  refs/heads/master 5d5b65e57 -> eaf703abc


NOLINT a few operator overloads, to enable whitespace/operators

Review: https://reviews.apache.org/r/19967


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/68959c54
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/68959c54
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/68959c54

Branch: refs/heads/master
Commit: 68959c5496f7c185f41f429fa91b441ecea87cac
Parents: 5d5b65e
Author: Adam B <[email protected]>
Authored: Mon Oct 13 22:52:04 2014 -0700
Committer: Adam B <[email protected]>
Committed: Mon Oct 13 22:52:04 2014 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/include/process/metrics/counter.hpp | 4 ++--
 3rdparty/libprocess/include/process/pid.hpp             | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/68959c54/3rdparty/libprocess/include/process/metrics/counter.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/process/metrics/counter.hpp 
b/3rdparty/libprocess/include/process/metrics/counter.hpp
index 6800e7a..fde05ae 100644
--- a/3rdparty/libprocess/include/process/metrics/counter.hpp
+++ b/3rdparty/libprocess/include/process/metrics/counter.hpp
@@ -37,12 +37,12 @@ public:
     push(__sync_and_and_fetch(&data->v, 0));
   }
 
-  Counter& operator ++ ()
+  Counter& operator ++ () // NOLINT(whitespace/operators)
   {
     return *this += 1;
   }
 
-  Counter operator ++ (int)
+  Counter operator ++ (int) // NOLINT(whitespace/operators)
   {
     Counter c(*this);
     ++(*this);

http://git-wip-us.apache.org/repos/asf/mesos/blob/68959c54/3rdparty/libprocess/include/process/pid.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/process/pid.hpp 
b/3rdparty/libprocess/include/process/pid.hpp
index fbd512f..2345322 100644
--- a/3rdparty/libprocess/include/process/pid.hpp
+++ b/3rdparty/libprocess/include/process/pid.hpp
@@ -41,7 +41,7 @@ struct UPID
     return id != "" && ip != 0 && port != 0;
   }
 
-  bool operator ! () const
+  bool operator ! () const // NOLINT(whitespace/operators)
   {
     return id == "" && ip == 0 && port == 0;
   }

Reply via email to