summaryrefslogtreecommitdiff
path: root/src/annotate.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-05 17:47:12 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-05 17:47:12 -0600
commite5885cc8a8a1d6cd2a65d04c56ba86d65317f4a1 (patch)
tree86d65169e1540cc0d57aabf061bf9e179097c04b /src/annotate.h
parentf9de33d21cd62d953147d62e01958557562a1311 (diff)
downloadfork-ledger-e5885cc8a8a1d6cd2a65d04c56ba86d65317f4a1.tar.gz
fork-ledger-e5885cc8a8a1d6cd2a65d04c56ba86d65317f4a1.tar.bz2
fork-ledger-e5885cc8a8a1d6cd2a65d04c56ba86d65317f4a1.zip
Added annotation_t::operator<()
Diffstat (limited to 'src/annotate.h')
-rw-r--r--src/annotate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/annotate.h b/src/annotate.h
index 3c6db8e8..29294e88 100644
--- a/src/annotate.h
+++ b/src/annotate.h
@@ -79,6 +79,7 @@ struct annotation_t : public supports_flags<>,
return price || date || tag;
}
+ bool operator<(const annotation_t& rhs) const;
bool operator==(const annotation_t& rhs) const {
return (price == rhs.price &&
date == rhs.date &&