Author: roger
Date: Mon Apr 18 19:46:02 2011
New Revision: 1094710

URL: http://svn.apache.org/viewvc?rev=1094710&view=rev
Log:
THRIFT-1139 C++ compilation of classes generated for an enum
Patch: Xavier Lepaul

Modified:
    thrift/trunk/lib/cpp/src/Thrift.h

Modified: thrift/trunk/lib/cpp/src/Thrift.h
URL: 
http://svn.apache.org/viewvc/thrift/trunk/lib/cpp/src/Thrift.h?rev=1094710&r1=1094709&r2=1094710&view=diff
==============================================================================
--- thrift/trunk/lib/cpp/src/Thrift.h (original)
+++ thrift/trunk/lib/cpp/src/Thrift.h Mon Apr 18 19:46:02 2011
@@ -43,7 +43,7 @@
 
 namespace apache { namespace thrift {
 
-class TEnumIterator {
+class TEnumIterator : public std::iterator<std::forward_iterator_tag, 
std::pair<int, const char*> > {
  public:
   TEnumIterator(int n,
                 int* enums,


Reply via email to