summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/clover/core/base.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/clover/core/base.hpp b/src/gallium/state_trackers/clover/core/base.hpp
index 19053f39235..2a2e26a141a 100644
--- a/src/gallium/state_trackers/clover/core/base.hpp
+++ b/src/gallium/state_trackers/clover/core/base.hpp
@@ -88,8 +88,7 @@ namespace clover {
reset(q);
}
- template<typename S>
- ref_ptr(const ref_ptr<S> &ref) : p(NULL) {
+ ref_ptr(const ref_ptr<T> &ref) : p(NULL) {
reset(ref.p);
}