Browse Source

whoops, virtual function changed signature

David Rose 23 years ago
parent
commit
e8c032b84c
2 changed files with 3 additions and 2 deletions
  1. 1 1
      panda/src/pstatclient/pStatClient.cxx
  2. 2 1
      panda/src/pstatclient/pStatClient.h

+ 1 - 1
panda/src/pstatclient/pStatClient.cxx

@@ -997,7 +997,7 @@ handle_server_control_message(const PStatServerControlMessage &message) {
 //               has been lost.
 ////////////////////////////////////////////////////////////////////
 void PStatClient::
-connection_reset(const PT(Connection) &connection) {
+connection_reset(const PT(Connection) &connection, PRErrorCode) {
   if (connection == _tcp_connection) {
     disconnect();
   } else {

+ 2 - 1
panda/src/pstatclient/pStatClient.h

@@ -173,7 +173,8 @@ private:
   void report_new_threads();
   void handle_server_control_message(const PStatServerControlMessage &message);
 
-  virtual void connection_reset(const PT(Connection) &connection);
+  virtual void connection_reset(const PT(Connection) &connection, 
+                                PRErrorCode errcode);
 
   bool _is_connected;
   bool _got_udp_port;