Skip to content

Commit

Permalink
Emit a warning if the deprecated interface method is used
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-webb committed Oct 27, 2024
1 parent b90ae4a commit d400b97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/include/log4cxx/helpers/class.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class LOG4CXX_EXPORT Class
virtual ~Class();
virtual Object* newInstance() const;
#if LOG4CXX_ABI_VERSION <= 15
[[ deprecated( "Use getName() instead" ) ]]
LogString toString() const;
#endif
virtual LogString getName() const = 0;
Expand Down

0 comments on commit d400b97

Please sign in to comment.