commit | bf65dd7e06ba1b80f2ae2cea65aecf12ded1cbdd | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Thu May 28 02:32:31 2020 +0200 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Mon Jun 08 16:07:23 2020 +0200 |
tree | bc349d60ec0aa4708e535c4b945154ae1860a6a3 | |
parent | 9275025d56e8f3d572456826314cbadc992b627a [diff] [blame] |
Add move command for moving (leaf)list instances Change-Id: I0bff25209f74601a450c12a810200b3c124d65f2
diff --git a/src/ast_commands.cpp b/src/ast_commands.cpp index c349e8c..1b89a6c 100644 --- a/src/ast_commands.cpp +++ b/src/ast_commands.cpp
@@ -36,3 +36,8 @@ { return this->m_path == b.m_path; } + +bool move_::operator==(const move_& other) const +{ + return this->m_source == other.m_source && this->m_destination == other.m_destination; +}