]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Revert "REVERT ME: remove test that fails compilation" 7503/head
authorPieter Lexis <pieter.lexis@powerdns.com>
Thu, 21 Feb 2019 11:17:22 +0000 (12:17 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Thu, 21 Feb 2019 11:17:22 +0000 (12:17 +0100)
This reverts commit 6eb4daca9c71804e4acdf31ac31ea6ad2541a01e.

pdns/speedtest.cc

index aa37895c1ba470383c98bf183bb7735aa7cc6494..3f923cb1bd77391750e5a6736e259778566cb3f4 100644 (file)
@@ -588,7 +588,6 @@ struct ParsePacketTest
 
   void operator()() const
   {
-#if 0
     MOADNSParser mdp(false, (const char*)&*d_packet.begin(), d_packet.size());
     typedef map<pair<DNSName, QType>, set<DNSResourceRecord>, TCacheComp > tcache_t;
     tcache_t tcache;
@@ -609,7 +608,7 @@ struct ParsePacketTest
       lwr.d_result.push_back(rr);
     }
 
-#endif
+
   }
   const vector<uint8_t>& d_packet;
   std::string d_name;