Fixed Variant move semantic issue with older compilers.
This commit is contained in:
parent
e7f3c69b77
commit
108c51cf28
@ -111,8 +111,8 @@ struct Constant
|
|||||||
|
|
||||||
Constant(const Constant &other) = delete;
|
Constant(const Constant &other) = delete;
|
||||||
Constant &operator=(const Constant &other) = delete;
|
Constant &operator=(const Constant &other) = delete;
|
||||||
Constant(Constant &&other) noexcept = default;
|
Constant(Constant &&other) = default;
|
||||||
Constant &operator=(Constant &&other) noexcept = default;
|
Constant &operator=(Constant &&other) = default;
|
||||||
|
|
||||||
std::string name;
|
std::string name;
|
||||||
};
|
};
|
||||||
@ -286,8 +286,8 @@ struct Variable
|
|||||||
|
|
||||||
Variable(const Variable &other) = delete;
|
Variable(const Variable &other) = delete;
|
||||||
Variable &operator=(const Variable &other) = delete;
|
Variable &operator=(const Variable &other) = delete;
|
||||||
Variable(Variable &&other) noexcept = default;
|
Variable(Variable &&other) = default;
|
||||||
Variable &operator=(Variable &&other) noexcept = default;
|
Variable &operator=(Variable &&other) = default;
|
||||||
|
|
||||||
std::string name;
|
std::string name;
|
||||||
Type type;
|
Type type;
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 37ab4d75aec7f565542b517e9d224b89406c78d6
|
Subproject commit 53492d9878c77e8d4ae0db1ce7ef07aba5d9d911
|
Loading…
Reference in New Issue
Block a user