make dump const

This commit is contained in:
dockes 2009-11-13 09:01:44 +00:00
parent cdc75832c6
commit 33d14e9bbf
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ namespace Rcl {
const string Doc::keykw("keywords"); const string Doc::keykw("keywords");
const string Doc::keymd5("md5"); const string Doc::keymd5("md5");
void Doc::dump(bool dotext) void Doc::dump(bool dotext) const
{ {
LOGDEB(("Rcl::Doc::dump: url: [%s]\n", url.c_str())); LOGDEB(("Rcl::Doc::dump: url: [%s]\n", url.c_str()));
LOGDEB(("Rcl::Doc::dump: utf8fn: [%s]\n", utf8fn.c_str())); LOGDEB(("Rcl::Doc::dump: utf8fn: [%s]\n", utf8fn.c_str()));

View File

@ -135,7 +135,7 @@ class Doc {
xdocid = 0; xdocid = 0;
} }
void dump(bool dotext=false); void dump(bool dotext=false) const;
// The official names for recoll native fields when used in a text // The official names for recoll native fields when used in a text
// context (ie: the python interface duplicates some of the fixed // context (ie: the python interface duplicates some of the fixed