diff --git a/include/Ark/Compiler/Macros/MacroScope.hpp b/include/Ark/Compiler/Macros/MacroScope.hpp index caf773c4e..ec482e829 100644 --- a/include/Ark/Compiler/Macros/MacroScope.hpp +++ b/include/Ark/Compiler/Macros/MacroScope.hpp @@ -2,7 +2,7 @@ * @file MacroScope.hpp * @author Alexandre Plateau (lexplt.dev@gmail.com) * @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 m_macros; - unsigned int m_depth; + unsigned int m_depth { 0 }; }; } diff --git a/src/arkreactor/Compiler/Macros/MacroScope.cpp b/src/arkreactor/Compiler/Macros/MacroScope.cpp index 6f687a523..7b77517af 100644 --- a/src/arkreactor/Compiler/Macros/MacroScope.cpp +++ b/src/arkreactor/Compiler/Macros/MacroScope.cpp @@ -2,10 +2,6 @@ namespace Ark::internal { - MacroScope::MacroScope() : - m_depth(0) - {} - MacroScope::MacroScope(const unsigned int depth) : m_depth(depth) {}