Skip to content

Commit add94f8

Browse files
committed
Fix C++ build
1 parent 458eb32 commit add94f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/cpp/src/thrift/Thrift.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ class TEnumIterator {
5454
public:
5555
using iterator_category = std::forward_iterator_tag;
5656
using value_type = std::pair<int, const char*>;
57+
using difference_type = std::ptrdiff_t;
58+
using pointer = value_type*;
59+
using reference = value_type&;
5760

5861
TEnumIterator(int n, int* enums, const char** names)
5962
: ii_(0), n_(n), enums_(enums), names_(names) {}

0 commit comments

Comments
 (0)