summaryrefslogtreecommitdiffstats
path: root/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'session.h')
-rw-r--r--session.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/session.h b/session.h
index 666d8ce2..6e507dd7 100644
--- a/session.h
+++ b/session.h
@@ -42,6 +42,14 @@ struct statistic_decl
int64_t linear_low;
int64_t linear_high;
int64_t linear_step;
+ bool operator==(statistic_decl const & other)
+ {
+ return type == other.type
+ && logarithmic_buckets == other.logarithmic_buckets
+ && linear_low == other.linear_low
+ && linear_high == other.linear_high
+ && linear_step == other.linear_step;
+ }
};