Skip to content

Commit

Permalink
cxx-tests: face.getIoService() => face.getIoContext()
Browse files Browse the repository at this point in the history
  • Loading branch information
yoursunny committed Dec 8, 2023
1 parent c710599 commit bc63c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integ/cxx-tests/tests/sync/psync-full/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ main(int argc, char* argv[]) {
psync::FullProducer sync(face, keyChain, 30, argv[2], userNode, handleUpdate, 100_ms, 500_ms,
psync::CompressionScheme::NONE, psync::CompressionScheme::NONE);

boost::asio::signal_set signalSet(face.getIoService(), SIGINT, SIGUSR1);
boost::asio::signal_set signalSet(face.getIoContext(), SIGINT, SIGUSR1);
std::function<void(const boost::system::error_code&, int signal)> handleSignal =
[&](const boost::system::error_code&, int signal) {
signalSet.async_wait(handleSignal);
Expand Down

0 comments on commit bc63c7c

Please sign in to comment.