Commit 54c66170 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[master] fixed a build error on git.bind10 by using exactly the same type in ?:

parent 82bb5bc1
......@@ -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({
......
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