Date: Thursday, January 18, 2007 @ 14:46:38
  Author: marc
    Path: /cvsroot/carob/carob/src

Modified: JavaSocket.cpp (1.73 -> 1.74)

ntohll() and htonll() put in anonymous namespace


----------------+
 JavaSocket.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: carob/src/JavaSocket.cpp
diff -u carob/src/JavaSocket.cpp:1.73 carob/src/JavaSocket.cpp:1.74
--- carob/src/JavaSocket.cpp:1.73       Wed Jan 17 17:23:31 2007
+++ carob/src/JavaSocket.cpp    Thu Jan 18 14:46:38 2007
@@ -48,7 +48,7 @@
 
 using namespace CarobNS;
 
-
+namespace {
 inline uint64_t ntohll(const uint64_t &n)
 {
   static const bool bigEndian = (ntohl(1) == 1);
@@ -68,7 +68,7 @@
   else
     return (((uint64_t)htonl(n)) << 32) | htonl(n >> 32);
 }
-
+}
 
 JavaSocket::JavaSocket() throw (CodecException) :
 #ifdef CAROB_USE_ICONV

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

Reply via email to