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 af...@apache.org on 2007/01/09 21:40:28 UTC

svn commit: r494563 - /logging/log4cxx/trunk/src/exception.cpp

Author: afester
Date: Tue Jan  9 12:40:28 2007
New Revision: 494563

URL: http://svn.apache.org/viewvc?view=rev&rev=494563
Log:
LOGCXX-14: fix 'std::exception' should be explicitly initialized in the 
copy constructor

Modified:
    logging/log4cxx/trunk/src/exception.cpp

Modified: logging/log4cxx/trunk/src/exception.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/exception.cpp?view=diff&rev=494563&r1=494562&r2=494563
==============================================================================
--- logging/log4cxx/trunk/src/exception.cpp (original)
+++ logging/log4cxx/trunk/src/exception.cpp Tue Jan  9 12:40:28 2007
@@ -32,7 +32,7 @@
   this->msg[msgLen] = 0;
 }
 
-Exception::Exception(const Exception& src) {
+Exception::Exception(const Exception& src) : std::exception() {
 #if defined(__STDC_LIB_EXT1__) || defined(__STDC_SECURE_LIB__)
       strcpy_s(msg, sizeof msg, src.msg);
 #else