aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-10-14 21:02:41 +0200
committerDavid Robillard <d@drobilla.net>2020-10-14 21:02:41 +0200
commit96f6df5b89a300ef69dcba929a2810cb3e5e26ef (patch)
tree1823b6927aafeb28d12ec1052ca61fab0abb76bc /examples
parent24949b8218a149b8030a85129c6c82c5427ef640 (diff)
downloadpugl-96f6df5b89a300ef69dcba929a2810cb3e5e26ef.tar.gz
pugl-96f6df5b89a300ef69dcba929a2810cb3e5e26ef.tar.bz2
pugl-96f6df5b89a300ef69dcba929a2810cb3e5e26ef.zip
Explicitly declare all special methods
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;