diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:24:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:36:00 +0100 |
commit | cd5c0adf811f8b63c312dc48c2790759eb19deeb (patch) | |
tree | 5a7aaf73a25ab242b97b3c06838983aae84043f6 | |
parent | be90769d22b1b0dedae7697087001982425862a8 (diff) |
loplugin:deletedspecial
Change-Id: I52253f6b925a943edc2984ce4d9462bd1edb5f51
-rw-r--r-- | include/registry/writer.hxx | 4 | ||||
-rw-r--r-- | registry/tools/options.hxx | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/include/registry/writer.hxx b/include/registry/writer.hxx index bbe42cd312c1..f6dced52ffaa 100644 --- a/include/registry/writer.hxx +++ b/include/registry/writer.hxx @@ -278,8 +278,8 @@ public: } private: - Writer(Writer &); // not implemented - void operator =(Writer); // not implemented + Writer(Writer &) SAL_DELETED_FUNCTION; + void operator =(Writer) SAL_DELETED_FUNCTION; void * m_handle; }; diff --git a/registry/tools/options.hxx b/registry/tools/options.hxx index 1c754ecb6b48..86f3597577f8 100644 --- a/registry/tools/options.hxx +++ b/registry/tools/options.hxx @@ -23,6 +23,8 @@ #include <string> #include <vector> +#include <sal/types.h> + namespace registry { namespace tools @@ -31,8 +33,8 @@ class Options { std::string m_program; - Options (Options const &); - Options & operator= (Options const &); + Options (Options const &) SAL_DELETED_FUNCTION; + Options & operator= (Options const &) SAL_DELETED_FUNCTION; public: explicit Options (char const * program); |