From 728b91c3172236e974c08b0a6ab8b920c0099749 Mon Sep 17 00:00:00 2001 From: Redstone1024 <2824517378@qq.com> Date: Sat, 2 Nov 2024 20:52:10 +0800 Subject: [PATCH] fix(containers): fix the final qualifier of container's iterators --- Redcraft.Utility/Source/Public/Containers/Array.h | 2 +- Redcraft.Utility/Source/Public/Containers/ArrayView.h | 2 +- Redcraft.Utility/Source/Public/Containers/Bitset.h | 2 +- Redcraft.Utility/Source/Public/Containers/List.h | 2 +- Redcraft.Utility/Source/Public/Containers/StaticArray.h | 2 +- Redcraft.Utility/Source/Public/Containers/StaticBitset.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Redcraft.Utility/Source/Public/Containers/Array.h b/Redcraft.Utility/Source/Public/Containers/Array.h index 233cacc..389c2cc 100644 --- a/Redcraft.Utility/Source/Public/Containers/Array.h +++ b/Redcraft.Utility/Source/Public/Containers/Array.h @@ -975,7 +975,7 @@ private: private: template - class TIteratorImpl + class TIteratorImpl final { public: diff --git a/Redcraft.Utility/Source/Public/Containers/ArrayView.h b/Redcraft.Utility/Source/Public/Containers/ArrayView.h index ebecb29..10913ca 100644 --- a/Redcraft.Utility/Source/Public/Containers/ArrayView.h +++ b/Redcraft.Utility/Source/Public/Containers/ArrayView.h @@ -299,7 +299,7 @@ private: public: - class Iterator + class Iterator final { public: diff --git a/Redcraft.Utility/Source/Public/Containers/Bitset.h b/Redcraft.Utility/Source/Public/Containers/Bitset.h index fc2ac00..f03a044 100644 --- a/Redcraft.Utility/Source/Public/Containers/Bitset.h +++ b/Redcraft.Utility/Source/Public/Containers/Bitset.h @@ -931,7 +931,7 @@ public: private: template - class TIteratorImpl + class TIteratorImpl final { public: diff --git a/Redcraft.Utility/Source/Public/Containers/List.h b/Redcraft.Utility/Source/Public/Containers/List.h index 8a33c04..d8a823f 100644 --- a/Redcraft.Utility/Source/Public/Containers/List.h +++ b/Redcraft.Utility/Source/Public/Containers/List.h @@ -553,7 +553,7 @@ private: ALLOCATOR_WRAPPER_END(AllocatorType, FNode, Impl) template - class TIteratorImpl + class TIteratorImpl final { public: diff --git a/Redcraft.Utility/Source/Public/Containers/StaticArray.h b/Redcraft.Utility/Source/Public/Containers/StaticArray.h index 422b750..b0aa477 100644 --- a/Redcraft.Utility/Source/Public/Containers/StaticArray.h +++ b/Redcraft.Utility/Source/Public/Containers/StaticArray.h @@ -123,7 +123,7 @@ public: private: template - class TIteratorImpl + class TIteratorImpl final { public: diff --git a/Redcraft.Utility/Source/Public/Containers/StaticBitset.h b/Redcraft.Utility/Source/Public/Containers/StaticBitset.h index b41aae4..2c709d5 100644 --- a/Redcraft.Utility/Source/Public/Containers/StaticBitset.h +++ b/Redcraft.Utility/Source/Public/Containers/StaticBitset.h @@ -532,7 +532,7 @@ public: private: template - class TIteratorImpl + class TIteratorImpl final { private: