projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clover: Address unnecessary copy warnings
[mesa.git]
/
src
/
gallium
/
frontends
/
clover
/
util
/
functional.hpp
diff --git
a/src/gallium/frontends/clover/util/functional.hpp
b/src/gallium/frontends/clover/util/functional.hpp
index fc281c5c79a6a139dd1fdf22c02d43755d3d7979..bf374c6b199956f20831957d1fc49ece78a94387 100644
(file)
--- a/
src/gallium/frontends/clover/util/functional.hpp
+++ b/
src/gallium/frontends/clover/util/functional.hpp
@@
-266,7
+266,7
@@
namespace clover {
S
operator()(S &&it) const {
std::advance(it, n);
- return
it
;
+ return
std::forward<S>(it)
;
}
private: