-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(macro): removing useless constructor
- Loading branch information
Showing
2 changed files
with
2 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* @file MacroScope.hpp | ||
* @author Alexandre Plateau ([email protected]) | ||
* @brief Defines tools to handle macro definitions | ||
* @version 0.2 | ||
* @version 1.0 | ||
* @date 2023-02-18 | ||
* | ||
* @copyright Copyright (c) 2023-2024 | ||
|
@@ -22,8 +22,6 @@ namespace Ark::internal | |
class MacroScope | ||
{ | ||
public: | ||
MacroScope(); | ||
|
||
/** | ||
* @brief Construct a new MacroScope object given a depth in the scope hierarchy | ||
* | ||
|
@@ -74,7 +72,7 @@ namespace Ark::internal | |
|
||
private: | ||
std::unordered_map<std::string, Node> m_macros; | ||
unsigned int m_depth; | ||
unsigned int m_depth { 0 }; | ||
}; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters