diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:26:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:36:01 +0100 |
commit | 4a2f64620370587161b5437069c2f1d9f3d702d1 (patch) | |
tree | 5dac0ae9aaff806b9abe5c120d964abb4c360bed /include/osl/conditn.hxx | |
parent | 034f2e1a2ace6c05e0a9fde192f4929303754544 (diff) |
loplugin:deletedspecial
Change-Id: I646d55ee80ceeefbb3647ec64278460cc5af579f
Diffstat (limited to 'include/osl/conditn.hxx')
-rw-r--r-- | include/osl/conditn.hxx | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/include/osl/conditn.hxx b/include/osl/conditn.hxx index 9485e7f41aed..0859a1419bd6 100644 --- a/include/osl/conditn.hxx +++ b/include/osl/conditn.hxx @@ -97,25 +97,12 @@ namespace osl constructed Condition may work on an already destructed oslCondition object. */ - Condition(const Condition&); + Condition(const Condition&) SAL_DELETED_FUNCTION; - /** The underlying oslCondition has no reference count. - - When destructed, the Condition object destroys the undelying oslCondition, - which might cause severe problems in case it's a temporary object. - - */ - Condition(oslCondition condition); - - /** This assignment operator is private for the same reason as + /** This assignment operator is deleted for the same reason as the copy constructor. */ - Condition& operator= (const Condition&); - - /** This assignment operator is private for the same reason as - the constructor taking a oslCondition argument. - */ - Condition& operator= (oslCondition); + Condition& operator= (const Condition&) SAL_DELETED_FUNCTION; }; } |