Bladeren bron

squelch some gcc 4.0.1 warnings

David Rose 20 jaren geleden
bovenliggende
commit
051b9a501a
2 gewijzigde bestanden met toevoegingen van 20 en 0 verwijderingen
  1. 18 0
      panda/src/event/eventParameter.I
  2. 2 0
      panda/src/event/eventParameter.h

+ 18 - 0
panda/src/event/eventParameter.I

@@ -213,6 +213,24 @@ operator << (ostream &out, const EventParameter &param) {
 }
 
 
+////////////////////////////////////////////////////////////////////
+//     Function: EventStoreValueBase::Constructor
+//       Access: Public
+//  Description: 
+////////////////////////////////////////////////////////////////////
+INLINE EventStoreValueBase::
+EventStoreValueBase() {
+}
+
+////////////////////////////////////////////////////////////////////
+//     Function: EventStoreValueBase::Destructor
+//       Access: Public
+//  Description: 
+////////////////////////////////////////////////////////////////////
+INLINE EventStoreValueBase::
+~EventStoreValueBase() {
+}
+
 ////////////////////////////////////////////////////////////////////
 //     Function: EventStoreValue::Default Constructor
 //       Access: Private

+ 2 - 0
panda/src/event/eventParameter.h

@@ -81,6 +81,8 @@ INLINE ostream &operator << (ostream &out, const EventParameter &param);
 ////////////////////////////////////////////////////////////////////
 class EXPCL_PANDA EventStoreValueBase : public TypedWritableReferenceCount {
 public:
+  INLINE EventStoreValueBase();
+  INLINE ~EventStoreValueBase();
   virtual void output(ostream &out) const=0;
 
 public: