diff options
author | David Robillard <d@drobilla.net> | 2020-10-14 21:02:41 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-14 21:02:41 +0200 |
commit | 96f6df5b89a300ef69dcba929a2810cb3e5e26ef (patch) | |
tree | 1823b6927aafeb28d12ec1052ca61fab0abb76bc /examples | |
parent | 24949b8218a149b8030a85129c6c82c5427ef640 (diff) | |
download | pugl-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.cpp | 8 |
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; |