aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs
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
commit4dbaf2fde9491e140ae469cf7b318d98254f6ede (patch)
tree556d37890f890f5e18627fcfd4d6042c55f8dd8f /contrib/libs
parentf532fa81fa7a9adc566cea4c377d93dbe289ced7 (diff)
downloadydb-4dbaf2fde9491e140ae469cf7b318d98254f6ede.tar.gz
Restoring authorship annotation for <architect@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs')
-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 20935307a6..edc04f96a3 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_;
};