Change name Scratch_Scope to Scoped_Arena
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user