patrick
/
plasp
Archived
1
0
Fork 0

Removed unused flags.

This commit is contained in:
Patrick Lühne 2017-05-18 15:55:20 +02:00
parent 94dd209e5e
commit 06b9632b70
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF
1 changed files with 4 additions and 8 deletions

View File

@ -43,10 +43,9 @@ struct Constant
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)},
type{std::move(type)},
isDirty{isDirty}
type{std::move(type)}
{
}
@ -57,7 +56,6 @@ struct ConstantDeclaration
std::string name;
std::experimental::optional<Type> type;
bool isDirty{true};
};
////////////////////////////////////////////////////////////////////////////////////////////////////
@ -146,10 +144,9 @@ struct Variable
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)},
type{std::move(type)},
isDirty{isDirty}
type{std::move(type)}
{
}
@ -160,7 +157,6 @@ struct VariableDeclaration
std::string name;
std::experimental::optional<Type> type;
bool isDirty{true};
};
////////////////////////////////////////////////////////////////////////////////////////////////////