Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > 4ac73489b9ec6b1b8b630949a91045aa > files > 5

netpanzer-0.8-2mdv2007.0.src.rpm

diff -ur netpanzer-0.8.orig/src/Lib/Network/Address.hpp netpanzer-0.8/src/Lib/Network/Address.hpp
--- netpanzer-0.8.orig/src/Lib/Network/Address.hpp	2004-10-14 10:22:50.000000000 -0300
+++ netpanzer-0.8/src/Lib/Network/Address.hpp	2006-05-01 05:58:05.000000000 -0300
@@ -34,7 +34,7 @@
     /** resolves a hostname or IP-Number together with a port and returns a
      * new Address object.
      */
-    static Address Address::resolve(const std::string& name, uint16_t port);
+    static Address resolve(const std::string& name, uint16_t port);
 
     /** returns the ip address of this Address as string */
     std::string getIP() const;
diff -ur netpanzer-0.8.orig/src/NetPanzer/Classes/PlayerState.hpp netpanzer-0.8/src/NetPanzer/Classes/PlayerState.hpp
--- netpanzer-0.8.orig/src/NetPanzer/Classes/PlayerState.hpp	2004-12-25 20:58:39.000000000 -0200
+++ netpanzer-0.8/src/NetPanzer/Classes/PlayerState.hpp	2006-05-01 05:58:36.000000000 -0300
@@ -81,8 +81,8 @@
 public:
     PlayerUnitConfig unit_config;
 
-    PlayerState::PlayerState();
-    PlayerState::PlayerState(const PlayerState& other);
+    PlayerState();
+    PlayerState(const PlayerState& other);
 
     void operator= (const PlayerState& other);
 
diff -ur netpanzer-0.8.orig/src/NetPanzer/Interfaces/Console.cpp netpanzer-0.8/src/NetPanzer/Interfaces/Console.cpp
--- netpanzer-0.8.orig/src/NetPanzer/Interfaces/Console.cpp	2004-11-22 14:19:54.000000000 -0200
+++ netpanzer-0.8/src/NetPanzer/Interfaces/Console.cpp	2006-05-01 05:58:56.000000000 -0300
@@ -46,7 +46,7 @@
         setp(buf, buf+sizeof(buf));
     }
 
-    FileStampStreamBuf::~FileStampStreamBuf()
+    ~FileStampStreamBuf()
     {
         sync();
         if(file)