summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-21 07:08:13 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-21 07:10:57 -0500
commitacb24d6d22e19d4f6b3883c029dd9fef5c1c9529 (patch)
tree2a2f732edd59c4f42c1eb3e9a9e95ff135091bab
parentca1d4c53117b8738a8f7a95ca417d7797bfe83f5 (diff)
downloadfork-ledger-acb24d6d22e19d4f6b3883c029dd9fef5c1c9529.tar.gz
fork-ledger-acb24d6d22e19d4f6b3883c029dd9fef5c1c9529.tar.bz2
fork-ledger-acb24d6d22e19d4f6b3883c029dd9fef5c1c9529.zip
Added several more missing virtual keywords
-rw-r--r--src/draft.h2
-rw-r--r--src/expr.h2
-rw-r--r--src/exprbase.h2
-rw-r--r--src/format.h2
-rw-r--r--src/predicate.h2
-rw-r--r--src/query.h2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/draft.h b/src/draft.h
index 003dcefa..93e98ff5 100644
--- a/src/draft.h
+++ b/src/draft.h
@@ -86,7 +86,7 @@ public:
if (! args.empty())
parse_args(args);
}
- ~draft_t() {
+ virtual ~draft_t() {
TRACE_DTOR(draft_t);
}
diff --git a/src/expr.h b/src/expr.h
index 97e8c948..638855b1 100644
--- a/src/expr.h
+++ b/src/expr.h
@@ -87,7 +87,7 @@ public:
parse(in, flags);
}
- ~expr_t() throw() {
+ virtual ~expr_t() {
TRACE_DTOR(expr_t);
}
diff --git a/src/exprbase.h b/src/exprbase.h
index 95cc51fc..0b3466b0 100644
--- a/src/exprbase.h
+++ b/src/exprbase.h
@@ -92,7 +92,7 @@ public:
{
TRACE_CTOR(expr_base_t, "scope_t *");
}
- virtual ~expr_base_t() throw() {
+ virtual ~expr_base_t() {
TRACE_DTOR(expr_base_t);
}
diff --git a/src/format.h b/src/format.h
index fc1272aa..a2bf1015 100644
--- a/src/format.h
+++ b/src/format.h
@@ -132,7 +132,7 @@ public:
if (! _str.empty())
parse_format(_str);
}
- ~format_t() {
+ virtual ~format_t() {
TRACE_DTOR(format_t);
}
diff --git a/src/predicate.h b/src/predicate.h
index 943b5a12..b3b81f9b 100644
--- a/src/predicate.h
+++ b/src/predicate.h
@@ -75,7 +75,7 @@ public:
: expr_t(in, flags), what_to_keep(_what_to_keep) {
TRACE_CTOR(predicate_t, "std::istream&, keep_details_t, parse_flags_t");
}
- ~predicate_t() throw() {
+ virtual ~predicate_t() {
TRACE_DTOR(predicate_t);
}
diff --git a/src/query.h b/src/query.h
index fb73ef2a..ebc14020 100644
--- a/src/query.h
+++ b/src/query.h
@@ -276,7 +276,7 @@ public:
if (! args.empty())
parse_args(args);
}
- ~query_t() throw() {
+ virtual ~query_t() {
TRACE_DTOR(query_t);
}