diff --git a/src/rcldb/rcldoc.cpp b/src/rcldb/rcldoc.cpp index a45e18e5..b86e9f16 100644 --- a/src/rcldb/rcldoc.cpp +++ b/src/rcldb/rcldoc.cpp @@ -41,7 +41,7 @@ namespace Rcl { const string Doc::keykw("keywords"); 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: utf8fn: [%s]\n", utf8fn.c_str())); diff --git a/src/rcldb/rcldoc.h b/src/rcldb/rcldoc.h index a9e3d7ba..cf344361 100644 --- a/src/rcldb/rcldoc.h +++ b/src/rcldb/rcldoc.h @@ -135,7 +135,7 @@ class Doc { 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 // context (ie: the python interface duplicates some of the fixed