It appears that in the ldap::ChildLocker it was intended to delete the copy constructor, equivalently to ldap::Locker. But instead a different constructor from ldap::Locker is deleted: ChildLocker(const Locker &rhs) = delete;. I.e. that should be ChildLocker(const ChildLocker &rhs) = delete; (i.e. ChildLocker as the arg).
It appears that in the
ldap::ChildLockerit was intended to delete the copy constructor, equivalently toldap::Locker. But instead a different constructor fromldap::Lockeris deleted:ChildLocker(const Locker &rhs) = delete;. I.e. that should beChildLocker(const ChildLocker &rhs) = delete;(i.e.ChildLockeras the arg).