Removed unused flags.
This commit is contained in:
parent
94dd209e5e
commit
06b9632b70
@ -43,10 +43,9 @@ struct Constant
|
|||||||
|
|
||||||
struct ConstantDeclaration
|
struct ConstantDeclaration
|
||||||
{
|
{
|
||||||
explicit ConstantDeclaration(std::string &&name, std::experimental::optional<Type> &&type = std::experimental::nullopt, bool isDirty = true)
|
explicit ConstantDeclaration(std::string &&name, std::experimental::optional<Type> &&type = std::experimental::nullopt)
|
||||||
: name{std::move(name)},
|
: name{std::move(name)},
|
||||||
type{std::move(type)},
|
type{std::move(type)}
|
||||||
isDirty{isDirty}
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -57,7 +56,6 @@ struct ConstantDeclaration
|
|||||||
|
|
||||||
std::string name;
|
std::string name;
|
||||||
std::experimental::optional<Type> type;
|
std::experimental::optional<Type> type;
|
||||||
bool isDirty{true};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
@ -146,10 +144,9 @@ struct Variable
|
|||||||
|
|
||||||
struct VariableDeclaration
|
struct VariableDeclaration
|
||||||
{
|
{
|
||||||
explicit VariableDeclaration(std::string &&name, std::experimental::optional<Type> type = std::experimental::nullopt, bool isDirty = true)
|
explicit VariableDeclaration(std::string &&name, std::experimental::optional<Type> type = std::experimental::nullopt)
|
||||||
: name{std::move(name)},
|
: name{std::move(name)},
|
||||||
type{std::move(type)},
|
type{std::move(type)}
|
||||||
isDirty{isDirty}
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -160,7 +157,6 @@ struct VariableDeclaration
|
|||||||
|
|
||||||
std::string name;
|
std::string name;
|
||||||
std::experimental::optional<Type> type;
|
std::experimental::optional<Type> type;
|
||||||
bool isDirty{true};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
Reference in New Issue
Block a user