From cddb95d9c3fa57ccb4b73f5b697129d13efe00f8 Mon Sep 17 00:00:00 2001 From: Vladimir Menshakov Date: Sun, 27 Dec 2009 13:33:12 +0000 Subject: more code convention fixes svn-id: r46640 --- common/algorithm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/algorithm.h b/common/algorithm.h index c5ab6fbc55..4224ef0e90 100644 --- a/common/algorithm.h +++ b/common/algorithm.h @@ -147,7 +147,7 @@ Op for_each(In first, In last, Op f) { } template -unsigned distance(T* first, T* last) { +unsigned distance(T * first, T * last) { return last - first; } @@ -162,7 +162,7 @@ unsigned distance(T first, T last) { } template -T* _sort_choose_pivot(T* first, T* last) { +T * _sort_choose_pivot(T * first, T * last) { return first + distance(first, last) / 2; } @@ -215,7 +215,7 @@ void sort(T first, T last, StrictWeakOrdering comp) { */ template -void sort(T* first, T* last) { +void sort(T * first, T * last) { sort(first, last, Common::Less()); } -- cgit v1.2.3