summaryrefslogtreecommitdiff
path: root/constraint.h
diff options
context:
space:
mode:
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;