summaryrefslogtreecommitdiff
path: root/src/exprbase.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-05 22:47:06 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-05 22:47:06 -0600
commit7b12b3041dccfb082949a5f1fdbd83396aae4f26 (patch)
tree052248cdb03cca701027d01bcb5ec0543aa4b2b2 /src/exprbase.h
parentacb5e1beea4176ab51ca2c9d32b006e7c0a7bef0 (diff)
Make exprbase_t::text() a const member function
Diffstat (limited to 'src/exprbase.h')
-rw-r--r--src/exprbase.h2
1 files changed, 1 insertions, 1 deletions
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) {