Keywords:
Remove use of FreeObject template function for MSVC compatability.
/*
- * $Id: store_dir_coss.cc,v 1.46 2003/07/22 15:23:10 robertc Exp $
+ * $Id: store_dir_coss.cc,v 1.47 2003/08/10 07:43:42 robertc Exp $
*
* DEBUG: section 47 Store COSS Directory Routines
* AUTHOR: Eric Stern
cleanLog = NULL;
}
+static void
+FreeObject(void *address)
+{
+ StoreSwapLogData *anObject = static_cast <StoreSwapLogData *>(address);
+ delete anObject;
+}
+
void
CossSwapDir::logEntry(const StoreEntry & e, int op) const
{
sizeof(StoreSwapLogData),
NULL,
NULL,
- &FreeObject<StoreSwapLogData>);
+ &FreeObject);
}
void
/*
- * $Id: store_dir_ufs.cc,v 1.62 2003/08/04 22:14:53 robertc Exp $
+ * $Id: store_dir_ufs.cc,v 1.63 2003/08/10 07:43:42 robertc Exp $
*
* DEBUG: section 47 Store Directory Routines
* AUTHOR: Duane Wessels
cleanLog = NULL;
}
+static void
+FreeObject(void *address)
+{
+ StoreSwapLogData *anObject = static_cast <StoreSwapLogData *>(address);
+ delete anObject;
+}
+
void
UFSSwapDir::logEntry(const StoreEntry & e, int op) const
{
sizeof(StoreSwapLogData),
NULL,
NULL,
- FreeObject<StoreSwapLogData>);
+ FreeObject);
}
static QS rev_int_sort;