mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-06 15:08:45 +00:00
part of execute_visitor, fixes
This commit is contained in:
parent
5167986ddf
commit
e1b9d42da1
5 changed files with 78 additions and 12 deletions
|
|
@ -88,9 +88,9 @@ public:
|
|||
struct ArrayValue {
|
||||
public:
|
||||
ArrayValue() = default;
|
||||
explicit ArrayValue(const std::vector<utils::IdType>& elements,
|
||||
explicit ArrayValue(std::vector<utils::IdType>&& elements,
|
||||
bool is_constant_size)
|
||||
: elements(elements), is_constant_size(is_constant_size) {}
|
||||
: elements(std::move(elements)), is_constant_size(is_constant_size) {}
|
||||
|
||||
public:
|
||||
std::vector<utils::IdType> elements;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue