From 51fb0d572e371add30770f307fbca747ca4f3e39 Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Sat, 17 Sep 2022 19:57:52 +0200 Subject: [PATCH] unchanged --- gen_enum_str.py | 0 src/container/iterator.hpp | 4 ++-- src/container/queue.hpp | 0 src/container/ringbuffer.hpp | 0 src/util/gz_regex.cpp | 0 src/util/gz_regex.hpp | 0 src/util/util.cpp | 0 src/util/util.hpp | 0 8 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 gen_enum_str.py mode change 100644 => 100755 src/container/iterator.hpp mode change 100644 => 100755 src/container/queue.hpp mode change 100644 => 100755 src/container/ringbuffer.hpp mode change 100644 => 100755 src/util/gz_regex.cpp mode change 100644 => 100755 src/util/gz_regex.hpp mode change 100644 => 100755 src/util/util.cpp mode change 100644 => 100755 src/util/util.hpp diff --git a/gen_enum_str.py b/gen_enum_str.py old mode 100644 new mode 100755 diff --git a/src/container/iterator.hpp b/src/container/iterator.hpp old mode 100644 new mode 100755 index 4f0ad3a..aa100b3 --- a/src/container/iterator.hpp +++ b/src/container/iterator.hpp @@ -16,8 +16,8 @@ struct Iterator { ptr = other.ptr; return *this; }; - Iterator& operator++() { ptr += sizeof(T); return *this; }; - Iterator operator++(int) { auto copy = *this; ptr += sizeof(T); return copy; }; + Iterator& operator++() { ptr++; return *this; }; + Iterator operator++(int) { auto copy = *this; ptr++; return copy; }; friend int operator-(Iterator lhs, Iterator rhs) { return lhs.ptr - rhs.ptr; }; diff --git a/src/container/queue.hpp b/src/container/queue.hpp old mode 100644 new mode 100755 diff --git a/src/container/ringbuffer.hpp b/src/container/ringbuffer.hpp old mode 100644 new mode 100755 diff --git a/src/util/gz_regex.cpp b/src/util/gz_regex.cpp old mode 100644 new mode 100755 diff --git a/src/util/gz_regex.hpp b/src/util/gz_regex.hpp old mode 100644 new mode 100755 diff --git a/src/util/util.cpp b/src/util/util.cpp old mode 100644 new mode 100755 diff --git a/src/util/util.hpp b/src/util/util.hpp old mode 100644 new mode 100755