Date: Thursday, May 3, 2007 @ 19:48:01
  Author: marc
    Path: /cvsroot/carob/carob

Modified: include/Common.hpp (1.59 -> 1.60) src/Common.cpp (1.71 -> 1.72)

Removed unused getLogger() function


--------------------+
 include/Common.hpp |   15 ++-------------
 src/Common.cpp     |    6 ------
 2 files changed, 2 insertions(+), 19 deletions(-)


Index: carob/include/Common.hpp
diff -u carob/include/Common.hpp:1.59 carob/include/Common.hpp:1.60
--- carob/include/Common.hpp:1.59       Wed Feb  7 16:32:33 2007
+++ carob/include/Common.hpp    Thu May  3 19:48:01 2007
@@ -41,20 +41,9 @@
   #define _WIN32_WINNT 0x0501 // workaround to have getaddrinfo function
 
   typedef uint16_t in_port_t;
-  typedef uint32_t in_addr_t;
-#endif
 
-#if 0 // CAROB_LOG4CXX_NAME
-// This is disabled to avoid including log4cxx headers EVERYWHERE,
-// and because most people don't need to do any advanced log4cxx
-// tricks.  You can safely copy/paste this in your cpp carob client
-// to declare this method if you need to.
-// (a forward declaration of LoggerPtr does not seem possible?)
-#include <log4cxx/logger.h>
-namespace CarobNS
-{
-  log4cxx::LoggerPtr& getLogger();
-}
+  // Not used anymore
+  // typedef uint32_t in_addr_t;
 #endif
 
 
Index: carob/src/Common.cpp
diff -u carob/src/Common.cpp:1.71 carob/src/Common.cpp:1.72
--- carob/src/Common.cpp:1.71   Thu May  3 19:27:47 2007
+++ carob/src/Common.cpp        Thu May  3 19:48:01 2007
@@ -70,12 +70,6 @@
   LoggerPtr logger(Logger::getLogger(TOSTRING(CAROB_LOG4CXX_NAME)));
 }
 
-namespace CarobNS {
-LoggerPtr& getLogger()
-{
-  return logger;
-}
-}
 
 #else // CAROB_LOG4CXX_NAME
 

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

Reply via email to