From 7b12b3041dccfb082949a5f1fdbd83396aae4f26 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 5 Mar 2012 22:47:06 -0600 Subject: Make exprbase_t::text() a const member function --- src/exprbase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/exprbase.h') diff --git a/src/exprbase.h b/src/exprbase.h index 0b1ef243..56900dbb 100644 --- a/src/exprbase.h +++ b/src/exprbase.h @@ -113,7 +113,7 @@ public: return ! str.empty(); } - virtual string text() { + virtual string text() const throw() { return str; } void set_text(const string& txt) { -- cgit v1.2.3