summaryrefslogtreecommitdiff
path: root/src/exprbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/exprbase.h')
-rw-r--r--src/exprbase.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exprbase.h b/src/exprbase.h
index 0b1ef243..bea25320 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) {
@@ -163,7 +163,7 @@ public:
}
#endif // defined(DEBUG_ON)
- DEBUG("expr.calc.when", "Compiling: " << str);
+ DEBUG("expr.compile", "Compiling: " << str);
compile(scope);
#if defined(DEBUG_ON)
@@ -174,7 +174,7 @@ public:
#endif // defined(DEBUG_ON)
}
- DEBUG("expr.calc.when", "Calculating: " << str);
+ DEBUG("expr.calc", "Calculating: " << str);
return real_calc(scope);
}