You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ts...@apache.org on 2020/06/21 13:57:38 UTC
[logging-log4cxx] branch master updated: Fix missing const in
method getThreshold
This is an automated email from the ASF dual-hosted git repository.
tschoening pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
The following commit(s) were added to refs/heads/master by this push:
new ded60fb Fix missing const in method getThreshold
ded60fb is described below
commit ded60fbbcc7adcd8a40d2806f472c085d5cf6271
Author: marco <ma...@ncc-1701-f.site>
AuthorDate: Sat Jun 20 11:42:33 2020 +0200
Fix missing const in method getThreshold
---
src/main/include/log4cxx/appenderskeleton.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/include/log4cxx/appenderskeleton.h b/src/main/include/log4cxx/appenderskeleton.h
index 81ca261..3face72 100644
--- a/src/main/include/log4cxx/appenderskeleton.h
+++ b/src/main/include/log4cxx/appenderskeleton.h
@@ -173,7 +173,7 @@ class LOG4CXX_EXPORT AppenderSkeleton :
Returns this appenders threshold level. See the #setThreshold
method for the meaning of this option.
*/
- const LevelPtr& getThreshold()
+ const LevelPtr& getThreshold() const
{
return threshold;
}