minor porting bugs

This commit is contained in:
David Rose 2001-06-05 21:49:59 +00:00
parent 796020870c
commit 5bb2f13274
1 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ public:
{
}
bool operator < (const TypeHistogramCountSorter &other) const {
return _count > other._count;
return other._count < _count;
}
MemoryUsagePointerCounts _count;
TypeHandle _type;
@ -269,7 +269,7 @@ operator_new_handler(size_t size) {
void MemoryUsage::
operator_delete_handler(void *ptr) {
get_global_ptr()->ns_remove_void_pointer(ptr);
return default_operator_delete(ptr);
default_operator_delete(ptr);
}
////////////////////////////////////////////////////////////////////