Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

CVS update of carob (include/DriverSocket.hpp src/DriverSocket.cpp): msg#00160

db.carob.cvs

Subject: CVS update of carob (include/DriverSocket.hpp src/DriverSocket.cpp)

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");


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo