make dump const
This commit is contained in:
@@ -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()));
|
||||||
|
|||||||
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user