From 616315698557813bb69b6b081a2f9e1b3621d6cb Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Tue, 30 Mar 2010 15:25:52 -0700 Subject: [PATCH] msg: MAuth has a private destructor --- src/messages/MAuth.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/messages/MAuth.h b/src/messages/MAuth.h index 1c87980befb7e..732aa6f5bc31b 100644 --- a/src/messages/MAuth.h +++ b/src/messages/MAuth.h @@ -24,7 +24,10 @@ struct MAuth : public PaxosServiceMessage { /* if protocol == 0, then auth_payload is a set<__u32> listing protocols the client supports */ MAuth() : PaxosServiceMessage(CEPH_MSG_AUTH, 0), protocol(0) { } +private: + ~MAuth() {} +public: const char *get_type_name() { return "auth"; } void print(ostream& out) { out << "auth(proto " << protocol << " " << auth_payload.length() << " bytes)"; -- 2.39.5