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
ISC Open Source Projects
Kea
Commits
54c66170
Commit
54c66170
authored
Feb 24, 2012
by
JINMEI Tatuya
Browse files
[master] fixed a build error on git.bind10 by using exactly the same type in ?:
parent
82bb5bc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/tests/memory_datasrc_unittest.cc
View file @
54c66170
...
...
@@ -539,7 +539,8 @@ public:
if
(
zone_finder
==
NULL
)
{
zone_finder
=
&
zone_finder_
;
}
const
ConstRRsetPtr
answer_sig
=
answer
?
answer
->
getRRsig
()
:
answer
;
const
ConstRRsetPtr
answer_sig
=
answer
?
answer
->
getRRsig
()
:
RRsetPtr
();
// note we use the same type as of retval of getRRsig()
// The whole block is inside, because we need to check the result and
// we can't assign to FindResult
EXPECT_NO_THROW
({
...
...
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