ProjectPath: Remove unused file-scope std::regex instance

Same behavior, minus an unnecessary heap allocation on program start.
This commit is contained in:
Lioncash 2020-04-05 09:22:25 -04:00
parent c48303c2c2
commit 1a031f54c4
1 changed files with 0 additions and 1 deletions

View File

@ -7,7 +7,6 @@
namespace hecl {
static const SystemRegex regPATHCOMP(_SYS_STR("[/\\\\]*([^/\\\\]+)"), SystemRegex::ECMAScript | SystemRegex::optimize);
static const SystemRegex regDRIVELETTER(_SYS_STR("^([^/]*)/"), SystemRegex::ECMAScript | SystemRegex::optimize);
static SystemString CanonRelPath(SystemStringView path) {
/* Tokenize Path */