From 7b33c7c4b43f5ebb3364e34032938137ec747720 Mon Sep 17 00:00:00 2001 From: jbeder Date: Thu, 12 Nov 2009 05:45:47 +0000 Subject: [PATCH] Small bug from switching static initialized regexes to lazy ones --- src/exp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exp.h b/src/exp.h index acebc18..8b84214 100644 --- a/src/exp.h +++ b/src/exp.h @@ -81,7 +81,7 @@ namespace YAML return e; } inline const RegEx& DocIndicator() { - static const RegEx e = DocStart || DocEnd; + static const RegEx e = DocStart() || DocEnd(); return e; } inline const RegEx& BlockEntry() {