Date: Wednesday, January 25, 2006 @ 17:02:00
  Author: gilles
    Path: /cvsroot/carob/carob

Modified: include/DriverSocket.hpp (1.11 -> 1.12) src/DriverSocket.cpp
          (1.13 -> 1.14)

Fixed useless const+'by copy arg' in DriverSocket constructor


--------------------------+
 include/DriverSocket.hpp |    2 +-
 src/DriverSocket.cpp     |    5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)


Index: carob/include/DriverSocket.hpp
diff -u carob/include/DriverSocket.hpp:1.11 carob/include/DriverSocket.hpp:1.12
--- carob/include/DriverSocket.hpp:1.11 Fri Dec 16 21:34:13 2005
+++ carob/include/DriverSocket.hpp      Wed Jan 25 17:01:59 2006
@@ -39,7 +39,7 @@
    * @param port port of the host to connect to
    * @throws ConnectionException
    */
-  DriverSocket(const std::wstring& host, const in_addr_t port) 
+  DriverSocket(const std::wstring& host, in_addr_t port) 
       throw (ConnectionException, UnexpectedException);
 
   /**
Index: carob/src/DriverSocket.cpp
diff -u carob/src/DriverSocket.cpp:1.13 carob/src/DriverSocket.cpp:1.14
--- carob/src/DriverSocket.cpp:1.13     Mon Jan 16 17:24:29 2006
+++ carob/src/DriverSocket.cpp  Wed Jan 25 17:02:00 2006
@@ -19,15 +19,16 @@
  * Contributor(s): 
  */
 
+#include "DriverSocket.hpp"
+
 #include "Common.hpp"
 #include "CarobException.hpp"
-#include "DriverSocket.hpp"
 
 using std::wstring;
 
 using namespace CarobNS;
 
-DriverSocket::DriverSocket(const wstring& host, const in_addr_t port)
+DriverSocket::DriverSocket(const wstring& host, in_addr_t port)
     throw (ConnectionException, UnexpectedException) : JavaSocket()
 {
   wstring fctName(L"DriverSocket::DriverSocket");

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to