You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2011/06/26 02:22:40 UTC

svn commit: r1139677 - /trafficserver/plugins/geoip_acl/acl.h

Author: zwoop
Date: Sun Jun 26 00:22:40 2011
New Revision: 1139677

URL: http://svn.apache.org/viewvc?rev=1139677&view=rev
Log:
ACL() needs virtual destructor

Modified:
    trafficserver/plugins/geoip_acl/acl.h

Modified: trafficserver/plugins/geoip_acl/acl.h
URL: http://svn.apache.org/viewvc/trafficserver/plugins/geoip_acl/acl.h?rev=1139677&r1=1139676&r2=1139677&view=diff
==============================================================================
--- trafficserver/plugins/geoip_acl/acl.h (original)
+++ trafficserver/plugins/geoip_acl/acl.h Sun Jun 26 00:22:40 2011
@@ -46,7 +46,9 @@ public:
     : _html(""), _allow(true)
   { }
 
-public:
+  virtual ~Acl()
+  { }
+
   // These have to be implemented for each ACL type
   virtual void read_regex(const char* fn) = 0;
   virtual void process_args(int argc, char* argv[]) = 0;