From 9bb590280a414b045af8dfa04e4eab6e6a49df0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 21 Mar 2020 17:29:53 +0100 Subject: [PATCH] GL: keeping copy but deleting a move is ... just wrong. I blame my 2013 self who didn't have so clear idea about move semantics yet. --- src/Magnum/GL/MeshView.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/Magnum/GL/MeshView.h b/src/Magnum/GL/MeshView.h index b13a8cc44..c0137a2c4 100644 --- a/src/Magnum/GL/MeshView.h +++ b/src/Magnum/GL/MeshView.h @@ -99,18 +99,6 @@ class MAGNUM_GL_EXPORT MeshView { */ explicit MeshView(Mesh& original); - /** @brief Copy constructor */ - MeshView(const MeshView& other) = default; - - /** @brief Movement is not allowed */ - MeshView(MeshView&& other) = delete; - - /** @brief Copy assignment */ - MeshView& operator=(const MeshView&) = default; - - /** @brief Movement is not allowed */ - MeshView& operator=(MeshView&& other) = delete; - /** @brief Original mesh */ Mesh& mesh() { return _original; } const Mesh& mesh() const { return _original; } /**< @overload */