diff --git a/src/main/include/log4cxx/spi/loggerfactory.h b/src/main/include/log4cxx/spi/loggerfactory.h index b3d1e31c7..ed502b1b7 100644 --- a/src/main/include/log4cxx/spi/loggerfactory.h +++ b/src/main/include/log4cxx/spi/loggerfactory.h @@ -43,17 +43,13 @@ class LOG4CXX_EXPORT LoggerFactory : public virtual helpers::Object virtual ~LoggerFactory() {} #if LOG4CXX_ABI_VERSION <= 15 + [[ deprecated( "Pool is no longer required" ) ]] + virtual LoggerPtr makeNewLoggerInstance(helpers::Pool& pool, const LogString& name) const = 0; + LoggerPtr makeNewLoggerInstance(const LogString& name) const; #else virtual LoggerPtr makeNewLoggerInstance(const LogString& name) const; #endif - -#if LOG4CXX_ABI_VERSION <= 15 - [[ deprecated( "Pool is no longer required" ) ]] - virtual LoggerPtr makeNewLoggerInstance( - helpers::Pool& pool, - const LogString& name) const = 0; -#endif };