You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by ts...@apache.org on 2014/02/18 10:10:10 UTC

svn commit: r1569234 - in /incubator/log4cxx/trunk/src/main/cpp: inputstreamreader.cpp socketoutputstream.cpp

Author: tschoening
Date: Tue Feb 18 09:10:10 2014
New Revision: 1569234

URL: http://svn.apache.org/r1569234
Log:
LOGCXX-367: Use C++ headers instead of C-ones.

Modified:
    incubator/log4cxx/trunk/src/main/cpp/inputstreamreader.cpp
    incubator/log4cxx/trunk/src/main/cpp/socketoutputstream.cpp

Modified: incubator/log4cxx/trunk/src/main/cpp/inputstreamreader.cpp
URL: http://svn.apache.org/viewvc/incubator/log4cxx/trunk/src/main/cpp/inputstreamreader.cpp?rev=1569234&r1=1569233&r2=1569234&view=diff
==============================================================================
--- incubator/log4cxx/trunk/src/main/cpp/inputstreamreader.cpp (original)
+++ incubator/log4cxx/trunk/src/main/cpp/inputstreamreader.cpp Tue Feb 18 09:10:10 2014
@@ -20,8 +20,9 @@
 #include <log4cxx/helpers/exception.h>
 #include <log4cxx/helpers/pool.h>
 #include <log4cxx/helpers/bytebuffer.h>
+
+#include <cstdio>
 #include <cstring>
-#include <string.h>
 
 using namespace log4cxx;
 using namespace log4cxx::helpers;

Modified: incubator/log4cxx/trunk/src/main/cpp/socketoutputstream.cpp
URL: http://svn.apache.org/viewvc/incubator/log4cxx/trunk/src/main/cpp/socketoutputstream.cpp?rev=1569234&r1=1569233&r2=1569234&view=diff
==============================================================================
--- incubator/log4cxx/trunk/src/main/cpp/socketoutputstream.cpp (original)
+++ incubator/log4cxx/trunk/src/main/cpp/socketoutputstream.cpp Tue Feb 18 09:10:10 2014
@@ -19,8 +19,9 @@
 #include <log4cxx/helpers/socketoutputstream.h>
 #include <log4cxx/helpers/socket.h>
 #include <log4cxx/helpers/bytebuffer.h>
+
+#include <cstdio>
 #include <cstring>
-#include <string.h>
 
 using namespace log4cxx;
 using namespace log4cxx::helpers;