summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/registry/writer.hxx4
-rw-r--r--registry/tools/options.hxx6
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);