From: Francisco Jerez Date: Wed, 27 Nov 2013 06:27:52 +0000 (-0800) Subject: clover: Fix missing minus sign in 'iterator_adaptor::operator-='. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce34158680bca4de85499fb8addaf766bf3159cf;p=mesa.git clover: Fix missing minus sign in 'iterator_adaptor::operator-='. The method is currently unused, this probably doesn't fix anything at this point. --- 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; }