diff options
Diffstat (limited to 'include/rtl/ref.hxx')
-rw-r--r-- | include/rtl/ref.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/rtl/ref.hxx b/include/rtl/ref.hxx index 942923ad6819..097584b1a276 100644 --- a/include/rtl/ref.hxx +++ b/include/rtl/ref.hxx @@ -49,6 +49,13 @@ public: /** Constructor... */ + inline Reference (reference_type * pBody, __sal_NoAcquire) + : m_pBody (pBody) + { + } + + /** Constructor... + */ inline Reference (reference_type * pBody) : m_pBody (pBody) { @@ -56,7 +63,6 @@ public: m_pBody->acquire(); } - /** Copy constructor... */ inline Reference (const Reference<reference_type> & handle) |