more use of NonCopyable

This commit is contained in:
2024-07-20 01:09:29 +02:00
parent 072c13ca89
commit d412871de5
5 changed files with 10 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ namespace protocol {
* \class PacketVisitor
* \brief This class uses double-dispatch in order to find the real type of a packet
*/
class PacketVisitor {
class PacketVisitor : private NonCopyable {
protected:
PacketVisitor() {}
virtual ~PacketVisitor() {}