Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
49ef97d8
Commit
49ef97d8
authored
May 15, 2013
by
JINMEI Tatuya
Browse files
[2946] get access to base class's static method via 'this' pointer
as some compilers don't allow direct use of Base::method.
parent
935c7cc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/asiodns/tests/dns_server_unittest.cc
View file @
49ef97d8
...
...
@@ -779,8 +779,7 @@ TEST_F(SyncServerTest, resetUDPServerBeforeEvent) {
(
*
udp_server_
)();
udp_server_
->
stop
();
udp_server_
.
reset
();
void
(
*
prev_handler
)(
int
)
=
std
::
signal
(
SIGALRM
,
DNSServerTestBase
::
stopIOService
);
void
(
*
prev_handler
)(
int
)
=
std
::
signal
(
SIGALRM
,
this
->
stopIOService
);
current_service
=
&
service
;
alarm
(
IO_SERVICE_TIME_OUT
);
service
.
run
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment