diff --git a/include/flatbuffers/flatbuffers.h b/include/flatbuffers/flatbuffers.h index b193b1791..aefde0e61 100644 --- a/include/flatbuffers/flatbuffers.h +++ b/include/flatbuffers/flatbuffers.h @@ -255,7 +255,7 @@ struct VectorIterator public: VectorIterator(const uint8_t *data, uoffset_t i) : - data_(data + IndirectHelper::element_stride * i) {}; + data_(data + IndirectHelper::element_stride * i) {} VectorIterator(const VectorIterator &other) : data_(other.data_) {} #ifndef FLATBUFFERS_CPP98_STL VectorIterator(VectorIterator &&other) : data_(std::move(other.data_)) {}