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 ca...@apache.org on 2007/01/09 06:56:27 UTC
svn commit: r494324 - /logging/log4cxx/trunk/include/log4cxx/helpers/object.h
Author: carnold
Date: Mon Jan 8 21:56:25 2007
New Revision: 494324
URL: http://svn.apache.org/viewvc?view=rev&rev=494324
Log:
LOGCXX-160: DECLARE_LOG4CXX_OBJECT missing virtual destructor
Modified:
logging/log4cxx/trunk/include/log4cxx/helpers/object.h
Modified: logging/log4cxx/trunk/include/log4cxx/helpers/object.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/include/log4cxx/helpers/object.h?view=diff&rev=494324&r1=494323&r2=494324
==============================================================================
--- logging/log4cxx/trunk/include/log4cxx/helpers/object.h (original)
+++ logging/log4cxx/trunk/include/log4cxx/helpers/object.h Mon Jan 8 21:56:25 2007
@@ -29,6 +29,7 @@
{\
public:\
Class##object() : helpers::Class() {}\
+ virtual ~Class##object() {}\
virtual const log4cxx::logchar* getName() const { return LOG4CXX_STR(#object); } \
};\
virtual const helpers::Class& getClass() const;\
@@ -41,6 +42,7 @@
{\
public:\
Class##object() : helpers::Class() {}\
+ virtual ~Class##object() {}\
virtual const log4cxx::logchar* getName() const { return LOG4CXX_STR(#object); } \
virtual helpers::ObjectPtr newInstance() const\
{\