]> granicus.if.org Git - pdns/commitdiff
work around a g++ quirk (probably, might also be legitimate problem)
authorBert Hubert <bert.hubert@netherlabs.nl>
Wed, 7 Mar 2007 18:12:14 +0000 (18:12 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Wed, 7 Mar 2007 18:12:14 +0000 (18:12 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@965 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/dns.hh

index 12b31eca391211159ae673f5031e0a7b70df9f0a..6547cf2506b3ef900e73676c7c8b84fae0f2237e 100644 (file)
@@ -46,7 +46,7 @@ struct SOAData
 class RCode
 {
 public:
-  enum { NoError=0, FormErr=1, ServFail=2, NXDomain=3, NotImp=4, Refused=5 };
+  enum rcodes_ { NoError=0, FormErr=1, ServFail=2, NXDomain=3, NotImp=4, Refused=5 };
 };
 
 class Opcode