Skip to content

Commit

Permalink
Simplify more
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-webb committed Jul 14, 2024
1 parent d65d3c2 commit b3ec262
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/main/include/log4cxx/spi/loggerfactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
};


Expand Down

0 comments on commit b3ec262

Please sign in to comment.