File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
include/Ark/Compiler/Macros
src/arkreactor/Compiler/Macros Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 2
2
* @file MacroScope.hpp
3
3
* @author Alexandre Plateau ([email protected] )
4
4
* @brief Defines tools to handle macro definitions
5
- * @version 0.2
5
+ * @version 1.0
6
6
* @date 2023-02-18
7
7
*
8
8
* @copyright Copyright (c) 2023-2024
@@ -22,8 +22,6 @@ namespace Ark::internal
22
22
class MacroScope
23
23
{
24
24
public:
25
- MacroScope ();
26
-
27
25
/* *
28
26
* @brief Construct a new MacroScope object given a depth in the scope hierarchy
29
27
*
@@ -74,7 +72,7 @@ namespace Ark::internal
74
72
75
73
private:
76
74
std::unordered_map<std::string, Node> m_macros;
77
- unsigned int m_depth;
75
+ unsigned int m_depth { 0 } ;
78
76
};
79
77
}
80
78
Original file line number Diff line number Diff line change 2
2
3
3
namespace Ark ::internal
4
4
{
5
- MacroScope::MacroScope () :
6
- m_depth (0 )
7
- {}
8
-
9
5
MacroScope::MacroScope (const unsigned int depth) :
10
6
m_depth (depth)
11
7
{}
You can’t perform that action at this time.
0 commit comments