summaryrefslogtreecommitdiff
path: root/include/vcl/vclptr.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-12 15:25:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-12 17:52:26 +0200
commitbff4c13475957863bfa7da5bc3bcf82a64a7503a (patch)
tree23530ecc27cb8d46b26d5d4aea6b058e5fbaf9db /include/vcl/vclptr.hxx
parent27491c28cb67ada0a4c5eaa90eaf589425990582 (diff)
Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY code
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
Diffstat (limited to 'include/vcl/vclptr.hxx')
-rw-r--r--include/vcl/vclptr.hxx8
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)