Skip to content

Commit b07db39

Browse files
committed
Fix error with Visual C++
1 parent d9fb307 commit b07db39

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

include/tao/json/internal/grammar.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ namespace tao
3131
struct value_separator : padr< one< ',' > > {};
3232
struct element_separator : padr< one< ',' > > {};
3333

34-
struct false_ : string< 'f', 'a', 'l', 's', 'e' > {};
35-
struct null : string< 'n', 'u', 'l', 'l' > {};
36-
struct true_ : string< 't', 'r', 'u', 'e' > {};
34+
struct false_ : json_pegtl::string< 'f', 'a', 'l', 's', 'e' > {};
35+
struct null : json_pegtl::string< 'n', 'u', 'l', 'l' > {};
36+
struct true_ : json_pegtl::string< 't', 'r', 'u', 'e' > {};
3737

3838
struct digits : plus< abnf::DIGIT > {};
3939

include/tao/json/internal/jaxn/grammar.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ namespace tao
4343
struct element_separator : padr< one< ',' > > {};
4444
struct value_concat : pad< one< '+' >, ws > {};
4545

46-
struct false_ : string< 'f', 'a', 'l', 's', 'e' > {};
47-
struct null : string< 'n', 'u', 'l', 'l' > {};
48-
struct true_ : string< 't', 'r', 'u', 'e' > {};
46+
struct false_ : json_pegtl::string< 'f', 'a', 'l', 's', 'e' > {};
47+
struct null : json_pegtl::string< 'n', 'u', 'l', 'l' > {};
48+
struct true_ : json_pegtl::string< 't', 'r', 'u', 'e' > {};
4949

50-
struct nan : string< 'N', 'a', 'N'> {};
50+
struct nan : json_pegtl::string< 'N', 'a', 'N' > {};
5151

5252
template< bool NEG >
53-
struct infinity : string< 'I', 'n', 'f', 'i', 'n', 'i', 't', 'y' > {};
53+
struct infinity : json_pegtl::string< 'I', 'n', 'f', 'i', 'n', 'i', 't', 'y' > {};
5454

5555
template< bool NEG >
5656
struct hexnum : plus< abnf::HEXDIG > {};

0 commit comments

Comments
 (0)