aboutsummaryrefslogtreecommitdiffstats
path: root/examples/samplebinding/truck.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-12-09 15:32:33 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-12-10 07:53:16 +0100
commit15a5cea299c01669095aba071afca0521107b487 (patch)
treebd144afe995f7f8e8f6363a2e938b2928471ef67 /examples/samplebinding/truck.cpp
parent713fed0392f0524ca2eb2779b42c906601c76900 (diff)
Update example documentation of samplebinding / scriptableapplication
Update versions and build information. Pick-to: 6.2 Change-Id: I82eb4b36e2357145f89bb640f2674deda6fe2253 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/samplebinding/truck.cpp')
-rw-r--r--examples/samplebinding/truck.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/samplebinding/truck.cpp b/examples/samplebinding/truck.cpp
index 056abfcd6..c8b0d8988 100644
--- a/examples/samplebinding/truck.cpp
+++ b/examples/samplebinding/truck.cpp
@@ -73,6 +73,10 @@ Truck &Truck::operator=(const Truck &other)
return *this;
}
+Truck::Truck(Truck &&other) = default;
+
+Truck& Truck::operator=(Truck &&other) = default;
+
Truck::~Truck()
{
if (m_leaveOnDestruction)