From 334d621ef949c8d7ff8fa4de3beb9ea85e1e3e3d Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 5 Jan 2004 23:41:11 +0000 Subject: [PATCH] no longer need interrogate workaround --- panda/src/audio/audioSound.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/panda/src/audio/audioSound.h b/panda/src/audio/audioSound.h index 079d5f3837..13d5dd646f 100644 --- a/panda/src/audio/audioSound.h +++ b/panda/src/audio/audioSound.h @@ -21,21 +21,13 @@ #define __AUDIOSOUND_H__ #include "config_audio.h" - #include "referenceCount.h" #include "pointerTo.h" -#include "namable.h" class AudioManager; -// This inherits from Namable just to work around a bug in -// interrogate. The bug is that interrogate does not realize that we -// require an upcast to call methods from ReferenceCount if we are -// singly inheriting; but we do because this is the first child of -// ReferenceCount to use virtual functions. I promise to fix this bug -// soon, but I'm putting in this hack in the interest of expediency. -class EXPCL_PANDA AudioSound : public Namable, public ReferenceCount { +class EXPCL_PANDA AudioSound : public ReferenceCount { PUBLISHED: virtual ~AudioSound() {}