summaryrefslogtreecommitdiffstats
path: root/src/messages/MDiscover.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2007-12-31 21:57:58 +0100
committerSage Weil <sage@newdream.net>2007-12-31 21:57:58 +0100
commitdafa9a1e215624a8ecff359c68bf2d5069903791 (patch)
treea9d4335c7c1351138fc5043f7433fe7f45e9791e /src/messages/MDiscover.h
parentfixed up rename relative path root check (diff)
downloadceph-dafa9a1e215624a8ecff359c68bf2d5069903791.tar.xz
ceph-dafa9a1e215624a8ecff359c68bf2d5069903791.zip
fixed get_type_name type to make latest g++ happy
Diffstat (limited to 'src/messages/MDiscover.h')
-rw-r--r--src/messages/MDiscover.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages/MDiscover.h b/src/messages/MDiscover.h
index 7294bad22d7..139446eed54 100644
--- a/src/messages/MDiscover.h
+++ b/src/messages/MDiscover.h
@@ -75,7 +75,7 @@ class MDiscover : public Message {
want_base_dir(want_base_dir_),
want_xlocked(false) { }
- char *get_type_name() { return "Dis"; }
+ const char *get_type_name() { return "Dis"; }
void print(ostream &out) {
out << "discover(" << base_ino << "." << base_dir_frag
<< " " << want;