From ce34158680bca4de85499fb8addaf766bf3159cf Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Tue, 26 Nov 2013 22:27:52 -0800 Subject: [PATCH] clover: Fix missing minus sign in 'iterator_adaptor::operator-='. The method is currently unused, this probably doesn't fix anything at this point. --- src/gallium/state_trackers/clover/util/adaptor.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/clover/util/adaptor.hpp b/src/gallium/state_trackers/clover/util/adaptor.hpp index fafb01fe9e7..e9035968573 100644 --- a/src/gallium/state_trackers/clover/util/adaptor.hpp +++ b/src/gallium/state_trackers/clover/util/adaptor.hpp @@ -111,7 +111,7 @@ namespace clover { iterator_adaptor & operator-=(difference_type n) { - tuple::map(advances_by(n), its); + tuple::map(advances_by(-n), its); return *this; } -- 2.30.2