Prechádzať zdrojové kódy

eliminate erroneous export of template class

cxgeorge 24 rokov pred
rodič
commit
1bc98e49cd

+ 1 - 3
panda/src/chan/animChannel.h

@@ -31,7 +31,7 @@
 //               of AnimChannels that return different values.
 ////////////////////////////////////////////////////////////////////
 template<class SwitchType>
-class EXPCL_PANDA AnimChannel : public AnimChannelBase {
+class AnimChannel : public AnimChannelBase {
 protected:
   // The default constructor is protected: don't try to create an
   // AnimChannel without a parent.  To create an AnimChannel hierarchy,
@@ -134,5 +134,3 @@ typedef AnimChannel<ACScalarSwitchType> AnimChannelScalar;
 
 #endif
 
-
-

+ 1 - 1
panda/src/chan/animChannelFixed.h

@@ -34,7 +34,7 @@
 //               anims to bind against.
 ////////////////////////////////////////////////////////////////////
 template<class SwitchType>
-class EXPCL_PANDA AnimChannelFixed : public AnimChannel<SwitchType> {
+class AnimChannelFixed : public AnimChannel<SwitchType> {
 public:
   INLINE AnimChannelFixed(AnimGroup *parent, const string &name, const ValueType &value);
   INLINE AnimChannelFixed(const string &name, const ValueType &value);

+ 1 - 1
panda/src/chan/movingPart.h

@@ -31,7 +31,7 @@
 //               channel.
 ////////////////////////////////////////////////////////////////////
 template<class SwitchType>
-class EXPCL_PANDA MovingPart : public MovingPartBase {
+class MovingPart : public MovingPartBase {
 public:
   typedef TYPENAME SwitchType::ValueType ValueType;
   typedef AnimChannel<SwitchType> ChannelType;

+ 1 - 5
panda/src/char/computedVerticesMorph.h

@@ -101,7 +101,7 @@ public:
 //               of vertex values.
 ////////////////////////////////////////////////////////////////////
 template<class ValueType, class MorphValueType>
-class EXPCL_PANDA ComputedVerticesMorph {
+class ComputedVerticesMorph {
 public:
   INLINE ComputedVerticesMorph();
   INLINE ComputedVerticesMorph(const ComputedVerticesMorph &copy);
@@ -134,7 +134,3 @@ typedef ComputedVerticesMorph<Colorf, ComputedVerticesMorphValue4> ComputedVerti
 
 #endif
 
-
-
-
-

+ 2 - 2
panda/src/egg2sg/computedVerticesMakerEntity.h

@@ -38,7 +38,7 @@
 //               values with identical values.
 ////////////////////////////////////////////////////////////////////
 template<class ValueType, class MorphType>
-class EXPCL_PANDAEGG ComputedVerticesMakerEntity {
+class ComputedVerticesMakerEntity {
 public:
   INLINE ComputedVerticesMakerEntity(const ValueType &value,
                                      const MorphType &morphs);
@@ -57,7 +57,7 @@ public:
 //               vertices into a common index number.
 ////////////////////////////////////////////////////////////////////
 template<class ValueType, class MorphType>
-class EXPCL_PANDAEGG ComputedVerticesMakerEntityMap {
+class ComputedVerticesMakerEntityMap {
 public:
   int add_value(const ValueType &value, const MorphType &morphs,
                 PTA(ValueType) &table);

+ 2 - 2
panda/src/express/referenceCount.h

@@ -90,7 +90,7 @@ INLINE void unref_delete(RefCountType *ptr);
 //               typedObject.h.
 ////////////////////////////////////////////////////////////////////
 template<class Base>
-class EXPCL_PANDAEXPRESS RefCountProxy : public ReferenceCount {
+class RefCountProxy : public ReferenceCount {
 public:
   INLINE RefCountProxy();
   INLINE RefCountProxy(const Base &copy);
@@ -118,7 +118,7 @@ private:
 //               only works when the base type is, in fact, a class.
 ////////////////////////////////////////////////////////////////////
 template<class Base>
-class EXPCL_PANDAEXPRESS RefCountObj : public ReferenceCount, public Base {
+class RefCountObj : public ReferenceCount, public Base {
 public:
   INLINE RefCountObj();
   INLINE RefCountObj(const Base &copy);

+ 1 - 1
panda/src/graph/traverserVisitor.h

@@ -25,7 +25,7 @@ class Node;
 class NodeRelation;
 
 template<class TW, class LevelState>
-class EXPCL_PANDA TraverserVisitor {
+class TraverserVisitor {
 public:
   typedef TW TransitionWrapper;
 

+ 3 - 3
panda/src/putil/iterator_types.h

@@ -28,7 +28,7 @@
 //               that pair.
 ////////////////////////////////////////////////////////////////////
 template<class pair_iterator>
-class EXPCL_PANDA first_of_pair_iterator : public pair_iterator {
+class first_of_pair_iterator : public pair_iterator {
 public:
   typedef TYPENAME pair_iterator::value_type::first_type value_type;
 
@@ -49,7 +49,7 @@ public:
 //               that pair.
 ////////////////////////////////////////////////////////////////////
 template<class pair_iterator>
-class EXPCL_PANDA second_of_pair_iterator : public pair_iterator {
+class second_of_pair_iterator : public pair_iterator {
 public:
   typedef TYPENAME pair_iterator::value_type::second_type value_type;
 
@@ -69,7 +69,7 @@ public:
 //               indicated type.
 ////////////////////////////////////////////////////////////////////
 template<class base_iterator, class new_type>
-class EXPCL_PANDA typecast_iterator : public base_iterator {
+class typecast_iterator : public base_iterator {
 public:
   typedef new_type value_type;