diff options
Diffstat (limited to 'include/vcl/vclptr.hxx')
-rw-r--r-- | include/vcl/vclptr.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/vclptr.hxx b/include/vcl/vclptr.hxx index 2614886e9723..ce2cd3518e1a 100644 --- a/include/vcl/vclptr.hxx +++ b/include/vcl/vclptr.hxx @@ -352,12 +352,12 @@ public: private: // Most likely we don't want this default copy-construtor. - ScopedVclPtr (const ScopedVclPtr<reference_type> &) SAL_DELETED_FUNCTION; + ScopedVclPtr (const ScopedVclPtr<reference_type> &) = delete; // And certainly we don't want a default assignment operator. - ScopedVclPtr<reference_type>& operator= (const ScopedVclPtr<reference_type> &) SAL_DELETED_FUNCTION; + ScopedVclPtr<reference_type>& operator= (const ScopedVclPtr<reference_type> &) = delete; // And disallow reset as that doesn't call disposeAndClear on the original reference - void reset() SAL_DELETED_FUNCTION; - void reset(reference_type *pBody) SAL_DELETED_FUNCTION; + void reset() = delete; + void reset(reference_type *pBody) = delete; protected: inline ScopedVclPtr (reference_type * pBody, __sal_NoAcquire) |