summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2013-11-26 22:27:52 -0800
committerFrancisco Jerez <[email protected]>2013-12-02 11:55:02 -0800
commitce34158680bca4de85499fb8addaf766bf3159cf (patch)
tree6b779235bfba12c69940574bee7ce2f22f8a67b5
parent8b659cef3a244b1acdbbca0beb704a66b6bc2fbc (diff)
clover: Fix missing minus sign in 'iterator_adaptor::operator-='.
The method is currently unused, this probably doesn't fix anything at this point.
-rw-r--r--src/gallium/state_trackers/clover/util/adaptor.hpp2
1 files changed, 1 insertions, 1 deletions
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;
}