We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94f240e commit 21ec706Copy full SHA for 21ec706
src/karm-core/base/vec.cpp
@@ -75,6 +75,8 @@ struct _Vec {
75
76
void removeRange(usize index, usize count) { _buf.removeRange(index, count); }
77
78
+ void removeRange(urange range) { _buf.removeRange(range.start, range.size); }
79
+
80
void removeUnordered(usize index) {
81
if (index >= len()) [[unlikely]]
82
panic("removeUnordered: index out of bounds");
0 commit comments