From 33d14e9bbf103f58346274a25877f6a151e2a853 Mon Sep 17 00:00:00 2001 From: dockes Date: Fri, 13 Nov 2009 09:01:44 +0000 Subject: [PATCH] make dump const --- src/rcldb/rcldoc.cpp | 2 +- src/rcldb/rcldoc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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