Commit 7831eb91 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2946] simplified the previous fix further: just use it without any prefix.

as stopIOService public any (non templated) derived class can use it.
this seems to be the simplest and portable way to build it.
parent 49ef97d8
......@@ -779,7 +779,7 @@ TEST_F(SyncServerTest, resetUDPServerBeforeEvent) {
(*udp_server_)();
udp_server_->stop();
udp_server_.reset();
void (*prev_handler)(int) = std::signal(SIGALRM, this->stopIOService);
void (*prev_handler)(int) = std::signal(SIGALRM, stopIOService);
current_service = &service;
alarm(IO_SERVICE_TIME_OUT);
service.run();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment