mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
add a destructor to silence the compiler warnings
This commit is contained in:
parent
14b0579412
commit
b625e79758
@ -140,6 +140,17 @@ MemoryHook(const MemoryHook ©) :
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
// Function: MemoryHook::Destructor
|
||||||
|
// Access: Public, Virtual
|
||||||
|
// Description:
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
MemoryHook::
|
||||||
|
~MemoryHook() {
|
||||||
|
// Really, we only have this destructor to shut up gcc about the
|
||||||
|
// virtual functions warning.
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: MemoryHook::heap_alloc
|
// Function: MemoryHook::heap_alloc
|
||||||
// Access: Public, Virtual
|
// Access: Public, Virtual
|
||||||
|
@ -33,6 +33,7 @@ class EXPCL_DTOOL MemoryHook {
|
|||||||
public:
|
public:
|
||||||
MemoryHook();
|
MemoryHook();
|
||||||
MemoryHook(const MemoryHook ©);
|
MemoryHook(const MemoryHook ©);
|
||||||
|
virtual ~MemoryHook();
|
||||||
|
|
||||||
virtual void *heap_alloc(size_t size);
|
virtual void *heap_alloc(size_t size);
|
||||||
virtual void heap_free(void *ptr);
|
virtual void heap_free(void *ptr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user