aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/pugl_cxx_demo.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/pugl_cxx_demo.cpp b/examples/pugl_cxx_demo.cpp
index 4addee2..439922c 100644
--- a/examples/pugl_cxx_demo.cpp
+++ b/examples/pugl_cxx_demo.cpp
@@ -38,6 +38,14 @@ public:
: pugl::View{world}
{}
+ CubeView(const CubeView&) = delete;
+ CubeView& operator=(const CubeView&) = delete;
+
+ CubeView(CubeView&&) = delete;
+ CubeView& operator=(CubeView&&) = delete;
+
+ ~CubeView() override = default;
+
pugl::Status onConfigure(const pugl::ConfigureEvent& event) override;
pugl::Status onUpdate(const pugl::UpdateEvent& event) override;
pugl::Status onExpose(const pugl::ExposeEvent& event) override;