diff options
-rw-r--r-- | src/gallium/state_trackers/clover/util/pointer.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/clover/util/pointer.hpp b/src/gallium/state_trackers/clover/util/pointer.hpp index b790fd451c4..aa119a4b82b 100644 --- a/src/gallium/state_trackers/clover/util/pointer.hpp +++ b/src/gallium/state_trackers/clover/util/pointer.hpp @@ -31,10 +31,10 @@ namespace clover { /// class ref_counter { public: - ref_counter() : _ref_count(1) {} + ref_counter(unsigned value = 1) : _ref_count(value) {} unsigned - ref_count() { + ref_count() const { return _ref_count; } |