David Reiss | c04452e | 2009-01-29 23:46:46 +0000 | [diff] [blame] | 1 | // Extra functions required for ThriftTest_types to work |
2 | |||||
3 | #include <protocol/TDebugProtocol.h> | ||||
4 | #include "gen-cpp/ThriftTest_types.h" | ||||
5 | |||||
6 | |||||
7 | namespace thrift { namespace test { | ||||
8 | |||||
9 | bool Insanity::operator<(thrift::test::Insanity const& other) const { | ||||
10 | using facebook::thrift::ThriftDebugString; | ||||
11 | return ThriftDebugString(*this) < ThriftDebugString(other); | ||||
12 | } | ||||
13 | |||||
14 | }} |