Change name Scratch_Scope to Scoped_Arena

This commit is contained in:
Krzosa Karol
2023-03-31 17:39:00 +02:00
parent 277404fe95
commit b2e8012afa
12 changed files with 33 additions and 32 deletions

View File

@@ -459,7 +459,7 @@ struct String_Replace {
CORE_Static String
string_replace(Arena *scratch, Allocator *allocator, String string, Array<String_Replace> pairs) {
Scratch_Scope _scope(scratch);
Scoped_Arena _scope(scratch);
String_Builder builder = {scratch};
for (S64 i = 0; i < string.len; i++) {
For(pairs) {