no longer need interrogate workaround

This commit is contained in:
David Rose 2004-01-05 23:41:11 +00:00
parent e3b7aa48f9
commit 334d621ef9
1 changed files with 1 additions and 9 deletions

View File

@ -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() {}