aboutsummaryrefslogtreecommitdiff
path: root/include/SafeVector.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-11 01:49:10 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-11 01:49:10 +0200
commit234cc3391eba6be67964e5c98beeecd318b8e779 (patch)
tree32bc82687245ebb5d43faf8b6e116883535a9688 /include/SafeVector.hpp
parent8746e8e43c9c47454ca7a115969cd07746fd832e (diff)
Load settings from config file
Diffstat (limited to 'include/SafeVector.hpp')
-rw-r--r--include/SafeVector.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/SafeVector.hpp b/include/SafeVector.hpp
index 916b547..6cb4725 100644
--- a/include/SafeVector.hpp
+++ b/include/SafeVector.hpp
@@ -15,6 +15,7 @@ public:
}
// Safe to call when vector is empty
+ // TODO: Make this iterator safe
void pop_back() {
if(!data.empty())
data.pop_back();
@@ -37,6 +38,7 @@ public:
return &data.back();
}
+ // TODO: Make this iterator safe
void clear() {
data.clear();
remove_queue.clear();