Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
54b68230
Commit
54b68230
authored
Nov 12, 2009
by
Jesse Beder
Browse files
Small bug from switching static initialized regexes to lazy ones
parent
32491166
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/exp.h
src/exp.h
+1
-1
No files found.
src/exp.h
View file @
54b68230
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment