Commit 6fe97cca authored by John Esmet's avatar John Esmet

FT-279 Constify the comparison operators for cleaniless (and to please

the osx build)
parent b0443fba
......@@ -136,10 +136,10 @@ class block_allocator {
blockpair(uint64_t o, uint64_t s) :
offset(o), size(s) {
}
int operator<(const struct blockpair &rhs) {
int operator<(const struct blockpair &rhs) const {
return offset < rhs.offset;
}
int operator<(const uint64_t &o) {
int operator<(const uint64_t &o) const {
return offset < o;
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment