mirror of https://github.com/AxioDL/metaforce.git
ProjectPath: Remove unused file-scope std::regex instance
Same behavior, minus an unnecessary heap allocation on program start.
This commit is contained in:
parent
c48303c2c2
commit
1a031f54c4
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue