Skip to content

Commit

Permalink
add custom allocator to std::vector
Browse files Browse the repository at this point in the history
  • Loading branch information
scheffle committed Feb 7, 2024
1 parent 1cb608a commit 3202e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vstgui/uidescription-scripting/tiny-js/TinyJS.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class CScriptLex
/** Position in data (we CAN go past the end of the string here) */
size_t dataPos;

std::vector<size_t> newLinePositions;
std::vector<size_t, Allocator<size_t>> newLinePositions;
};

class CScriptVar;
Expand Down

0 comments on commit 3202e20

Please sign in to comment.