summaryrefslogtreecommitdiff
path: root/constraint.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-07-27 01:33:41 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-07-27 01:33:41 -0400
commitdd5680c2674fe9ce458941ec9b3978cd7dda9bff (patch)
tree6f54757768b36ef3ab9590d490f1c96e4b798c11 /constraint.h
parent161d6f79bd6f4ab45afa1cbae77548c8e508809a (diff)
downloadledger-dd5680c2674fe9ce458941ec9b3978cd7dda9bff.tar.gz
ledger-dd5680c2674fe9ce458941ec9b3978cd7dda9bff.tar.bz2
ledger-dd5680c2674fe9ce458941ec9b3978cd7dda9bff.zip
reorganized report.cc into item.cc, expr.cc and format.cc
Diffstat (limited to 'constraint.h')
-rw-r--r--constraint.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/constraint.h b/constraint.h
index 700a9e25..f7ecef62 100644
--- a/constraint.h
+++ b/constraint.h
@@ -81,7 +81,7 @@ bool matches(const masks_list& regexps, const std::string& str,
bool * by_exclusion = NULL);
-struct item_t;
+struct node_t;
enum periodicity_t {
PERIOD_NONE,
@@ -137,10 +137,7 @@ class constraints_t
sort_order = NULL;
}
- ~constraints_t() {
- if (predicate) delete predicate;
- if (sort_order) delete sort_order;
- }
+ ~constraints_t();
std::time_t begin() const {
return have_beginning ? begin_date : 0;