[btree_damage_tests] << operator for thing.

This commit is contained in:
Joe Thornber 2013-05-17 11:48:02 +01:00
parent 38dcde0c37
commit 93ba17a3f4

View File

@ -33,6 +33,10 @@ namespace {
uint64_t y;
};
ostream &operator <<(ostream &out, thing const &t) {
return out << "thing [" << t.x << ", " << t.y << "]";
}
struct thing_disk {
le32 x;
le64 y;