aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarchitect <architect@yandex-team.ru>2022-02-10 16:48:10 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:10 +0300
commite77cfd118321c5b9c168fdee41b4e6c5706b8f68 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13
parent4dbaf2fde9491e140ae469cf7b318d98254f6ede (diff)
downloadydb-e77cfd118321c5b9c168fdee41b4e6c5706b8f68.tar.gz
Restoring authorship annotation for <architect@yandex-team.ru>. Commit 2 of 2.
-rw-r--r--contrib/libs/flatbuffers/include/flatbuffers/flatbuffers.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/contrib/libs/flatbuffers/include/flatbuffers/flatbuffers.h b/contrib/libs/flatbuffers/include/flatbuffers/flatbuffers.h
index edc04f96a3..20935307a6 100644
--- a/contrib/libs/flatbuffers/include/flatbuffers/flatbuffers.h
+++ b/contrib/libs/flatbuffers/include/flatbuffers/flatbuffers.h
@@ -194,34 +194,34 @@ template<typename T, typename IT> struct VectorIterator {
VectorIterator operator+(const uoffset_t &offset) const {
return VectorIterator(data_ + offset * IndirectHelper<T>::element_stride,
0);
- }
-
+ }
+
VectorIterator &operator+=(const uoffset_t &offset) {
- data_ += offset * IndirectHelper<T>::element_stride;
- return *this;
- }
-
- VectorIterator &operator--() {
- data_ -= IndirectHelper<T>::element_stride;
- return *this;
- }
-
- VectorIterator operator--(int) {
+ data_ += offset * IndirectHelper<T>::element_stride;
+ return *this;
+ }
+
+ VectorIterator &operator--() {
+ data_ -= IndirectHelper<T>::element_stride;
+ return *this;
+ }
+
+ VectorIterator operator--(int) {
VectorIterator temp(data_, 0);
- data_ -= IndirectHelper<T>::element_stride;
- return temp;
- }
-
+ data_ -= IndirectHelper<T>::element_stride;
+ return temp;
+ }
+
VectorIterator operator-(const uoffset_t &offset) const {
return VectorIterator(data_ - offset * IndirectHelper<T>::element_stride,
0);
- }
-
+ }
+
VectorIterator &operator-=(const uoffset_t &offset) {
- data_ -= offset * IndirectHelper<T>::element_stride;
- return *this;
- }
-
+ data_ -= offset * IndirectHelper<T>::element_stride;
+ return *this;
+ }
+
private:
const uint8_t *data_;
};