From: Otto Moerbeek Date: Wed, 27 Jan 2021 14:24:01 +0000 (+0100) Subject: Use named qtype X-Git-Tag: dnsdist-1.6.0-alpha1~9^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10004%2Fhead;p=thirdparty%2Fpdns.git Use named qtype Co-authored-by: Remi Gacogne --- diff --git a/pdns/recursordist/test-negcache_cc.cc b/pdns/recursordist/test-negcache_cc.cc index 566d46912c..7cffa81287 100644 --- a/pdns/recursordist/test-negcache_cc.cc +++ b/pdns/recursordist/test-negcache_cc.cc @@ -85,7 +85,7 @@ BOOST_AUTO_TEST_CASE(test_get_entry2038) BOOST_CHECK_EQUAL(cache.size(), 1U); NegCache::NegCacheEntry ne; - bool ret = cache.get(qname, QType(1), now, ne); + bool ret = cache.get(qname, QType(QType::A), now, ne); BOOST_CHECK(ret); BOOST_CHECK_EQUAL(ne.d_name, qname);