From: Roger Meier Date: Mon, 18 Apr 2011 19:46:02 +0000 (+0000) Subject: THRIFT-1139 C++ compilation of classes generated for an enum X-Git-Tag: 0.7.0~106 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=330b5ae1bf198bdf719f4f2cc7bddfb0368f4070;p=common%2Fthrift.git THRIFT-1139 C++ compilation of classes generated for an enum Patch: Xavier Lepaul git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1094710 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/cpp/src/Thrift.h b/lib/cpp/src/Thrift.h index ab6cf382..c6b31a87 100644 --- a/lib/cpp/src/Thrift.h +++ b/lib/cpp/src/Thrift.h @@ -43,7 +43,7 @@ namespace apache { namespace thrift { -class TEnumIterator { +class TEnumIterator : public std::iterator > { public: TEnumIterator(int n, int* enums,