Skip to content

Commit

Permalink
xio: build fixes (XioMessenger lacks features argument)
Browse files Browse the repository at this point in the history
Applies the constructor signature change to the uses in
xio_client and xio_server test programs.

Signed-off-by: Matt Benjamin <[email protected]>
  • Loading branch information
mattbenjamin committed Nov 3, 2016
1 parent 7b10c6c commit 2ac2ef3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/test/messenger/xio_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ int main(int argc, const char **argv)
messenger = new XioMessenger(g_ceph_context,
entity_name_t::MON(-1),
"xio_client",
0 /* nonce */, XIO_ALL_FEATURES, 0 /* cflags */,
0 /* nonce */,
0 /* cflags */,
dstrategy);

// enable timing prints
Expand Down
3 changes: 2 additions & 1 deletion src/test/messenger/xio_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ int main(int argc, const char **argv)
messenger = new XioMessenger(g_ceph_context,
entity_name_t::MON(-1),
"xio_server",
0 /* nonce */, XIO_ALL_FEATURES, 0 /* cflags */,
0 /* nonce */,
0 /* cflags */,
dstrategy);

static_cast<XioMessenger*>(messenger)->set_magic(
Expand Down

0 comments on commit 2ac2ef3

Please sign in to comment.