From 93ba17a3f44e07296e6da8cc85f6bf6e2a02524d Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Fri, 17 May 2013 11:48:02 +0100 Subject: [PATCH] [btree_damage_tests] << operator for thing. --- unit-tests/btree_damage_visitor_t.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/unit-tests/btree_damage_visitor_t.cc b/unit-tests/btree_damage_visitor_t.cc index 11b58fc..af2136b 100644 --- a/unit-tests/btree_damage_visitor_t.cc +++ b/unit-tests/btree_damage_visitor_t.cc @@ -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;