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 { |
T Jake Luciani | b5e6221 | 2009-01-31 22:36:20 +0000 | [diff] [blame^] | 10 | using apache::thrift::ThriftDebugString; |
David Reiss | c04452e | 2009-01-29 23:46:46 +0000 | [diff] [blame] | 11 | return ThriftDebugString(*this) < ThriftDebugString(other); |
| 12 | } |
| 13 | |
| 14 | }} |