]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/dnsdemog.cc
Enforce style const MOADNSException &mde
[thirdparty/pdns.git] / pdns / dnsdemog.cc
index 7abcefbdc0cb4df09dcf8e3f8cf1f5ca28da8106..cc9cc2b494024bc06e663c5bb3b2a860456da0b6 100644 (file)
@@ -81,7 +81,7 @@ try
           cout <<", "<< ntohs(dh->arcount) <<");\n";
 
         }
-        catch(MOADNSException& mde) {
+        catch(const MOADNSException &mde) {
           //        cerr<<"error parsing packet: "<<mde.what()<<endl;
           continue;
         }