diff options
Diffstat (limited to 'examples/samplebinding/truck.cpp')
-rw-r--r-- | examples/samplebinding/truck.cpp | 4 |
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) |