]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/MonClient.h: delete copy constr and assing op 10599/head
authorMichal Jarzabek <stiopa@gmail.com>
Fri, 5 Aug 2016 20:45:48 +0000 (21:45 +0100)
committerMichal Jarzabek <stiopa@gmail.com>
Fri, 5 Aug 2016 20:45:48 +0000 (21:45 +0100)
commit7d23761f07916626d6bcf73674ed518b6ec165e7
tree030fc1ca32c5391ad61bd967cc7eb15ccc5fd586
parent367cb8407b19a84c6afbfdbe6a1f40f2363a08f9
mon/MonClient.h: delete copy constr and assing op

Declaring a copy constructor and assignment operator without an
implementation will prevent copy and assignment, but it will be
caught only during linking. Deleting them moves the checking to
compile time.

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
src/mon/MonClient.h