[Mesa-dev] [PATCH 2/3] clover: add vector_ref default constructor
EdB
edb+mesa at sigluy.net
Sun Sep 28 03:57:21 PDT 2014
---
src/gallium/state_trackers/clover/util/compat.hpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/state_trackers/clover/util/compat.hpp b/src/gallium/state_trackers/clover/util/compat.hpp
index dd20ef0..f938e74 100644
--- a/src/gallium/state_trackers/clover/util/compat.hpp
+++ b/src/gallium/state_trackers/clover/util/compat.hpp
@@ -190,6 +190,9 @@ namespace clover {
typedef std::ptrdiff_t difference_type;
typedef std::size_t size_type;
+ vector_ref() : p(NULL), n(0) {
+ }
+
vector_ref(iterator p, size_type n) : p(p), n(n) {
}
--
2.1.1
More information about the mesa-dev
mailing list