trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r942502 - /trafficserver/traffic/trunk/iocore/cache/P_RamCache.h
Date Sun, 09 May 2010 07:25:32 GMT
Author: mturk
Date: Sun May  9 07:25:32 2010
New Revision: 942502

URL: http://svn.apache.org/viewvc?rev=942502&view=rev
Log:
Fix compile time warning: Structs having virtual function must have virtual destructor

Modified:
    trafficserver/traffic/trunk/iocore/cache/P_RamCache.h

Modified: trafficserver/traffic/trunk/iocore/cache/P_RamCache.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/cache/P_RamCache.h?rev=942502&r1=942501&r2=942502&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/cache/P_RamCache.h (original)
+++ trafficserver/traffic/trunk/iocore/cache/P_RamCache.h Sun May  9 07:25:32 2010
@@ -35,6 +35,7 @@ struct RamCache {
   virtual int fixup(INK_MD5 *key, inku32 old_auxkey1, inku32 old_auxkey2, inku32 new_auxkey1,
inku32 new_auxkey2) = 0;
 
   virtual void init(ink64 max_bytes, Part *part) = 0;
+  virtual ~RamCache() = 0;
 };
 
 RamCache *new_RamCacheLRU();



Mime
View raw message