Repository: mesos Updated Branches: refs/heads/master 64b12f50e -> b6d2f2def
Fixed whitespace in future.hpp. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/94d90d00 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/94d90d00 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/94d90d00 Branch: refs/heads/master Commit: 94d90d00806407b1f05d1ce57633a880f169c7f3 Parents: 64b12f5 Author: Benjamin Mahler <[email protected]> Authored: Mon Mar 16 16:22:38 2015 -0700 Committer: Benjamin Mahler <[email protected]> Committed: Mon Mar 16 16:23:16 2015 -0700 ---------------------------------------------------------------------- 3rdparty/libprocess/include/process/future.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/94d90d00/3rdparty/libprocess/include/process/future.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/libprocess/include/process/future.hpp b/3rdparty/libprocess/include/process/future.hpp index 68d6682..f814557 100644 --- a/3rdparty/libprocess/include/process/future.hpp +++ b/3rdparty/libprocess/include/process/future.hpp @@ -537,14 +537,14 @@ private: namespace internal { - // Helper for executing callbacks that have been registered. - template <typename C, typename... Arguments> - void run(const std::vector<C>& callbacks, Arguments&&... arguments) - { - for (size_t i = 0; i < callbacks.size(); ++i) { - callbacks[i](std::forward<Arguments>(arguments)...); - } +// Helper for executing callbacks that have been registered. +template <typename C, typename... Arguments> +void run(const std::vector<C>& callbacks, Arguments&&... arguments) +{ + for (size_t i = 0; i < callbacks.size(); ++i) { + callbacks[i](std::forward<Arguments>(arguments)...); } +} } // namespace internal {
