summaryrefslogtreecommitdiff
path: root/extensions/source/config
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-13 23:44:29 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-13 23:44:29 +0200
commita6611be6bc145a9f538a9f1bbe6d40f32ebad1c9 (patch)
tree9f816a202a4d299ba7cabb2406c5d31bd6a63422 /extensions/source/config
parentf5051821bc5da0fa7b3de78d21aee305fce3d46b (diff)
Clean up function declarations and some unused functions
Change-Id: Ie81d270267b6c3c3620ade62eb393b28d995a654
Diffstat (limited to 'extensions/source/config')
-rw-r--r--extensions/source/config/ldap/ldapaccess.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/extensions/source/config/ldap/ldapaccess.cxx b/extensions/source/config/ldap/ldapaccess.cxx
index 984bdc88e956..405c721b5174 100644
--- a/extensions/source/config/ldap/ldapaccess.cxx
+++ b/extensions/source/config/ldap/ldapaccess.cxx
@@ -20,6 +20,7 @@
#include "ldapaccess.hxx"
+#include <boost/noncopyable.hpp>
#include <rtl/ustrbuf.hxx>
#include <rtl/strbuf.hxx>
@@ -29,7 +30,7 @@ namespace extensions { namespace config { namespace ldap {
typedef int LdapErrCode;
-struct LdapMessageHolder
+struct LdapMessageHolder: private boost::noncopyable
{
LdapMessageHolder() : msg(0) {}
~LdapMessageHolder()
@@ -39,10 +40,6 @@ struct LdapMessageHolder
}
LDAPMessage * msg;
-
-private:
- LdapMessageHolder(LdapMessageHolder const&);
- void operator=(LdapMessageHolder const&);
};
LdapConnection::~LdapConnection()