Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ObjectModel/ObjectModel.cpp')
-rw-r--r--src/ObjectModel/ObjectModel.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ObjectModel/ObjectModel.cpp b/src/ObjectModel/ObjectModel.cpp
index 157c5edd..ed59b5fa 100644
--- a/src/ObjectModel/ObjectModel.cpp
+++ b/src/ObjectModel/ObjectModel.cpp
@@ -138,6 +138,14 @@ ExpressionValue::ExpressionValue(const ExpressionValue& other) noexcept
}
}
+ExpressionValue::ExpressionValue(ExpressionValue&& other) noexcept
+{
+ type = other.type;
+ param = other.param;
+ whole = other.whole;
+ other.type = (uint32_t)TypeCode::None;
+}
+
ExpressionValue::~ExpressionValue()
{
Release();