diff options
Diffstat (limited to 'src/yuescript/ast.hpp')
-rw-r--r-- | src/yuescript/ast.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuescript/ast.hpp b/src/yuescript/ast.hpp index 3443c7f..c6da312 100644 --- a/src/yuescript/ast.hpp +++ b/src/yuescript/ast.hpp | |||
@@ -21,6 +21,8 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | |||
21 | 21 | ||
22 | namespace parserlib { | 22 | namespace parserlib { |
23 | 23 | ||
24 | using namespace std::string_view_literals; | ||
25 | |||
24 | class ast_node; | 26 | class ast_node; |
25 | template <bool Required, class T> | 27 | template <bool Required, class T> |
26 | class ast_ptr; | 28 | class ast_ptr; |
@@ -50,7 +52,6 @@ struct Counter<0> { | |||
50 | enum { value = Counter<__LINE__ - 1>::value + 1 }; \ | 52 | enum { value = Counter<__LINE__ - 1>::value + 1 }; \ |
51 | } | 53 | } |
52 | 54 | ||
53 | class ast_node; | ||
54 | template <class T> | 55 | template <class T> |
55 | constexpr typename std::enable_if<std::is_base_of<ast_node, T>::value, int>::type | 56 | constexpr typename std::enable_if<std::is_base_of<ast_node, T>::value, int>::type |
56 | id(); | 57 | id(); |