Просмотр исходного кода

no longer need interrogate workaround

David Rose 22 лет назад
Родитель
Сommit
334d621ef9
1 измененных файлов с 1 добавлено и 9 удалено
  1. 1 9
      panda/src/audio/audioSound.h

+ 1 - 9
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() {}