diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-10-29 12:26:52 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-10-29 12:26:52 +0100 |
| commit | 3a0b5678af98832e480115c409495ce835642a09 (patch) | |
| tree | 1b29547b76c007f281e96133ea1de01bfdbe7eb8 /kapi | |
| parent | 40e67a6dba7837c562613016bdc8bad17d069e57 (diff) | |
| download | teachos-3a0b5678af98832e480115c409495ce835642a09.tar.xz teachos-3a0b5678af98832e480115c409495ce835642a09.zip | |
kapi/memory: fix frame number postfix increment
Diffstat (limited to 'kapi')
| -rw-r--r-- | kapi/include/kapi/memory/frame.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kapi/include/kapi/memory/frame.hpp b/kapi/include/kapi/memory/frame.hpp index 1251e51..8bcf79f 100644 --- a/kapi/include/kapi/memory/frame.hpp +++ b/kapi/include/kapi/memory/frame.hpp @@ -59,7 +59,8 @@ namespace teachos::memory auto constexpr operator++(int) noexcept -> frame { auto copy = *this; - return ++copy; + ++*this; + return copy; } /** |
