diff options
Diffstat (limited to 'src/messages/MRoute.h')
-rw-r--r-- | src/messages/MRoute.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages/MRoute.h b/src/messages/MRoute.h index 350bb4cad28..d9bc7f83397 100644 --- a/src/messages/MRoute.h +++ b/src/messages/MRoute.h @@ -45,10 +45,10 @@ public: ::decode(dest, p); msg = decode_message(cct, p); } - void encode_payload(CephContext *cct, uint64_t features) { + void encode_payload(uint64_t features) { ::encode(session_mon_tid, payload); ::encode(dest, payload); - encode_message(cct, msg, features, payload); + encode_message(msg, features, payload); } const char *get_type_name() { return "route"; } |