summaryrefslogtreecommitdiffstats
path: root/src/messages/MExportDirPrep.h
diff options
context:
space:
mode:
authorGreg Farnum <gregf@hq.newdream.net>2010-03-31 18:09:46 +0200
committerGreg Farnum <gregf@hq.newdream.net>2010-03-31 23:59:40 +0200
commit76174f46b3c123b425c456e5200254cddb189ce4 (patch)
treea4267344ac02aebaa84e9ed54cb61f653aafd333 /src/messages/MExportDirPrep.h
parentmsg: fix uses of MExportDirCancel destructor to use put() (diff)
downloadceph-76174f46b3c123b425c456e5200254cddb189ce4.tar.xz
ceph-76174f46b3c123b425c456e5200254cddb189ce4.zip
msg: MExportDirPrep has a private destructor
Diffstat (limited to 'src/messages/MExportDirPrep.h')
-rw-r--r--src/messages/MExportDirPrep.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/messages/MExportDirPrep.h b/src/messages/MExportDirPrep.h
index 295d7a448df..e4399713ed0 100644
--- a/src/messages/MExportDirPrep.h
+++ b/src/messages/MExportDirPrep.h
@@ -44,8 +44,10 @@ public:
Message(MSG_MDS_EXPORTDIRPREP),
dirfrag(df),
b_did_assim(false) { }
+private:
+ ~MExportDirPrep() {}
-
+public:
const char *get_type_name() { return "ExP"; }
void print(ostream& o) {
o << "export_prep(" << dirfrag << ")";