You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by af...@apache.org on 2005/12/17 17:33:24 UTC
svn commit: r357344 - /logging/log4cxx/trunk/src/formattinginfo.cpp
Author: afester
Date: Sat Dec 17 08:33:13 2005
New Revision: 357344
URL: http://svn.apache.org/viewcvs?rev=357344&view=rev
Log:
LOGCXX-92: synchronized parameter list between header file and implementation file
Modified:
logging/log4cxx/trunk/src/formattinginfo.cpp
Modified: logging/log4cxx/trunk/src/formattinginfo.cpp
URL: http://svn.apache.org/viewcvs/logging/log4cxx/trunk/src/formattinginfo.cpp?rev=357344&r1=357343&r2=357344&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/formattinginfo.cpp (original)
+++ logging/log4cxx/trunk/src/formattinginfo.cpp Sat Dec 17 08:33:13 2005
@@ -29,7 +29,7 @@
* @param maxLength maximum length.
*/
FormattingInfo::FormattingInfo(
- bool leftAlign, int minLength, int maxLength) :
+ const bool leftAlign, const int minLength, const int maxLength) :
leftAlign(leftAlign),
minLength(minLength),
maxLength(maxLength) {
@@ -50,7 +50,7 @@
* @param fieldStart start of field in buffer.
* @param buffer buffer to be modified.
*/
-void FormattingInfo::format(int fieldStart, LogString& buffer) const {
+void FormattingInfo::format(const int fieldStart, LogString& buffer) const {
int rawLength = buffer.length() - fieldStart;
if (rawLength > maxLength) {