libprocess: Fixed template style 's/template</template </'.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3874af09 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3874af09 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/3874af09 Branch: refs/heads/master Commit: 3874af09c397752914aed92487d1b87b4f7170c9 Parents: e63338e Author: Michael Park <[email protected]> Authored: Wed Sep 9 18:07:47 2015 -0700 Committer: Michael Park <[email protected]> Committed: Wed Sep 9 18:07:47 2015 -0700 ---------------------------------------------------------------------- 3rdparty/libprocess/include/process/metrics/timer.hpp | 4 ++-- 3rdparty/libprocess/include/process/process.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/3874af09/3rdparty/libprocess/include/process/metrics/timer.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/libprocess/include/process/metrics/timer.hpp b/3rdparty/libprocess/include/process/metrics/timer.hpp index 76890b7..08f16b8 100644 --- a/3rdparty/libprocess/include/process/metrics/timer.hpp +++ b/3rdparty/libprocess/include/process/metrics/timer.hpp @@ -35,7 +35,7 @@ namespace metrics { // A Metric that represents a timed event. It is templated on a Duration // subclass that specifies the unit to use for the Timer. -template<class T> +template <class T> class Timer : public Metric { public: @@ -90,7 +90,7 @@ public: } // Time an asynchronous event. - template<typename U> + template <typename U> Future<U> time(const Future<U>& future) { // We need to take a copy of 'this' here to ensure that the http://git-wip-us.apache.org/repos/asf/mesos/blob/3874af09/3rdparty/libprocess/include/process/process.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/libprocess/include/process/process.hpp b/3rdparty/libprocess/include/process/process.hpp index 009f7c4..cc8317f 100644 --- a/3rdparty/libprocess/include/process/process.hpp +++ b/3rdparty/libprocess/include/process/process.hpp @@ -267,7 +267,7 @@ protected: * Returns the number of events of the given type currently on the event * queue. */ - template<typename T> + template <typename T> size_t eventCount() { size_t count = 0U; @@ -296,7 +296,7 @@ private: TERMINATED } state; - template<typename T> + template <typename T> static bool isEventType(const Event* event) { return event->is<T>();
