From d8701dc6aceb06caf9b285aaca51f6f32291b5e1 Mon Sep 17 00:00:00 2001 From: Luis Michaelis Date: Tue, 7 Nov 2023 09:49:52 +0100 Subject: [PATCH] fix(VirtualObject): make `VirtualObject` movable --- include/zenkit/vobs/VirtualObject.hh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/zenkit/vobs/VirtualObject.hh b/include/zenkit/vobs/VirtualObject.hh index 97d3661d..5b412cd0 100644 --- a/include/zenkit/vobs/VirtualObject.hh +++ b/include/zenkit/vobs/VirtualObject.hh @@ -168,6 +168,10 @@ namespace zenkit { /// ///

Contains parameters all VObs have, like their position, bounding box and model.

struct VirtualObject { + VirtualObject() = default; + VirtualObject(VirtualObject const&) = delete; + VirtualObject(VirtualObject&&) = default; + struct SaveState { uint8_t sleep_mode; float next_on_timer;