Browse Source

dtoolbase: remove TypeHandle::_none symbol, no longer needed

rdb 7 years ago
parent
commit
77724f49dc
2 changed files with 0 additions and 6 deletions
  1. 0 3
      dtool/src/dtoolbase/typeHandle.cxx
  2. 0 3
      dtool/src/dtoolbase/typeHandle.h

+ 0 - 3
dtool/src/dtoolbase/typeHandle.cxx

@@ -15,9 +15,6 @@
 #include "typeRegistryNode.h"
 #include "typeRegistryNode.h"
 #include "atomicAdjust.h"
 #include "atomicAdjust.h"
 
 
-// This is initialized to zero by static initialization.
-TypeHandle TypeHandle::_none;
-
 /**
 /**
  * Returns the total allocated memory used by objects of this type, for the
  * Returns the total allocated memory used by objects of this type, for the
  * indicated memory class.  This is only updated if track-memory-usage is set
  * indicated memory class.  This is only updated if track-memory-usage is set

+ 0 - 3
dtool/src/dtoolbase/typeHandle.h

@@ -147,9 +147,6 @@ public:
 private:
 private:
   constexpr TypeHandle(int index);
   constexpr TypeHandle(int index);
 
 
-  // Only kept temporarily for ABI compatibility.
-  static TypeHandle _none;
-
   int _index;
   int _index;
   friend class TypeRegistry;
   friend class TypeRegistry;
 };
 };