"docs/source/vscode:/vscode.git/clone" did not exist on "21c747fa0f5963dd7520def714232123729cc59b"
Commit 7b33c7c4 authored by jbeder's avatar jbeder
Browse files

Small bug from switching static initialized regexes to lazy ones

parent 63cc5ade
...@@ -81,7 +81,7 @@ namespace YAML ...@@ -81,7 +81,7 @@ namespace YAML
return e; return e;
} }
inline const RegEx& DocIndicator() { inline const RegEx& DocIndicator() {
static const RegEx e = DocStart || DocEnd; static const RegEx e = DocStart() || DocEnd();
return e; return e;
} }
inline const RegEx& BlockEntry() { inline const RegEx& BlockEntry() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment