Explorar o código

no longer need interrogate workaround

David Rose %!s(int64=22) %!d(string=hai) anos
pai
achega
334d621ef9
Modificáronse 1 ficheiros con 1 adicións e 9 borrados
  1. 1 9
      panda/src/audio/audioSound.h

+ 1 - 9
panda/src/audio/audioSound.h

@@ -21,21 +21,13 @@
 #define __AUDIOSOUND_H__
 #define __AUDIOSOUND_H__
 
 
 #include "config_audio.h"
 #include "config_audio.h"
-
 #include "referenceCount.h"
 #include "referenceCount.h"
 #include "pointerTo.h"
 #include "pointerTo.h"
-#include "namable.h"
 
 
 
 
 class AudioManager;
 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:
 PUBLISHED:
   virtual ~AudioSound() {}
   virtual ~AudioSound() {}