commit | e8ccbb2348147fc8864f09c23b64cbad01118c0f | [log] [tgz] |
---|---|---|
author | baldapps <playappassistance@gmail.com> | Mon Jun 22 20:09:29 2020 +0200 |
committer | Thorsten Schöning <6223655+ams-tschoening@users.noreply.github.com> | Tue Jun 23 08:59:23 2020 +0200 |
tree | bb4b4e989e0390185be0267b434408ebb450f660 | |
parent | ded60fbbcc7adcd8a40d2806f472c085d5cf6271 [diff] |
Fix missing const
diff --git a/src/main/cpp/dailyrollingfileappender.cpp b/src/main/cpp/dailyrollingfileappender.cpp index 6f57cc3..9d58fcb 100644 --- a/src/main/cpp/dailyrollingfileappender.cpp +++ b/src/main/cpp/dailyrollingfileappender.cpp
@@ -53,7 +53,7 @@ datePattern = newPattern; } -LogString DailyRollingFileAppender::getDatePattern() +LogString DailyRollingFileAppender::getDatePattern() const { return datePattern; }
diff --git a/src/main/include/log4cxx/dailyrollingfileappender.h b/src/main/include/log4cxx/dailyrollingfileappender.h index 2ace32d..e8384c6 100644 --- a/src/main/include/log4cxx/dailyrollingfileappender.h +++ b/src/main/include/log4cxx/dailyrollingfileappender.h
@@ -183,7 +183,7 @@ void setDatePattern(const LogString& pattern); /** Returns the value of the <b>DatePattern</b> option. */ - LogString getDatePattern(); + LogString getDatePattern() const; void setOption(const LogString& option, const LogString& value);