Browse Source

remove warnings on Linux

David Rose 20 years ago
parent
commit
33175eb521

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

@@ -105,6 +105,15 @@ operator = (const EventParameter &other) {
   return *this;
   return *this;
 }
 }
 
 
+////////////////////////////////////////////////////////////////////
+//     Function: EventParameter::Destructor
+//       Access: Public
+//  Description:
+////////////////////////////////////////////////////////////////////
+INLINE EventParameter::
+~EventParameter() {
+}
+
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //     Function: EventParameter::is_empty
 //     Function: EventParameter::is_empty
 //       Access: Public
 //       Access: Public

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

@@ -50,6 +50,7 @@ PUBLISHED:
 
 
   INLINE EventParameter(const EventParameter &copy);
   INLINE EventParameter(const EventParameter &copy);
   INLINE EventParameter &operator = (const EventParameter &copy);
   INLINE EventParameter &operator = (const EventParameter &copy);
+  INLINE ~EventParameter();
 
 
   // These functions are conveniences to easily determine if the
   // These functions are conveniences to easily determine if the
   // EventParameter is one of the predefined parameter types, and
   // EventParameter is one of the predefined parameter types, and

+ 1 - 1
panda/src/express/threadNsprImpl.h

@@ -40,7 +40,7 @@ class Thread;
 class EXPCL_PANDAEXPRESS ThreadNsprImpl {
 class EXPCL_PANDAEXPRESS ThreadNsprImpl {
 public:
 public:
   INLINE ThreadNsprImpl(Thread *parent_obj);
   INLINE ThreadNsprImpl(Thread *parent_obj);
-  INLINE ~ThreadNsprImpl();
+  ~ThreadNsprImpl();
 
 
   bool start(ThreadPriority priority, bool global, bool joinable);
   bool start(ThreadPriority priority, bool global, bool joinable);
   void interrupt();
   void interrupt();