From 330b5ae1bf198bdf719f4f2cc7bddfb0368f4070 Mon Sep 17 00:00:00 2001 From: Roger Meier Date: Mon, 18 Apr 2011 19:46:02 +0000 Subject: [PATCH] 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 --- lib/cpp/src/Thrift.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.17.1