Index: compiled/intrusive_ptr.h |
diff --git a/compiled/intrusive_ptr.h b/compiled/intrusive_ptr.h |
index 211e6fe42a8a04ca9c42dc5a5e098a541703723f..a198fc3e1d1adcd1c442bf0e8f4b769b0d8d1e5b 100644 |
--- a/compiled/intrusive_ptr.h |
+++ b/compiled/intrusive_ptr.h |
@@ -125,9 +125,9 @@ public: |
intrusive_ptr().swap(*this); |
} |
- void reset(T* other) |
+ void reset(T* other, bool addRef = true) |
{ |
- intrusive_ptr(other).swap(*this); |
+ intrusive_ptr(other, addRef).swap(*this); |
} |
const T* get() const |