From ecf7bfa2c148a93f354e38348fa8bc1cb6cc5d7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 4 Apr 2014 10:45:17 +0200 Subject: [PATCH] Minor cleanup. --- src/Magnum/AbstractTexture.h | 12 ++++++------ src/Magnum/TextureArray.h | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/Magnum/AbstractTexture.h b/src/Magnum/AbstractTexture.h index c8e7cba18..ea95a9706 100644 --- a/src/Magnum/AbstractTexture.h +++ b/src/Magnum/AbstractTexture.h @@ -157,6 +157,12 @@ class MAGNUM_EXPORT AbstractTexture: public AbstractObject { static Int maxIntegerSamples(); #endif + /** @brief Copying is not allowed */ + AbstractTexture(const AbstractTexture&) = delete; + + /** @brief Move constructor */ + AbstractTexture(AbstractTexture&& other) noexcept; + /** * @brief Destructor * @@ -165,12 +171,6 @@ class MAGNUM_EXPORT AbstractTexture: public AbstractObject { */ ~AbstractTexture(); - /** @brief Copying is not allowed */ - AbstractTexture(const AbstractTexture&) = delete; - - /** @brief Move constructor */ - AbstractTexture(AbstractTexture&& other) noexcept; - /** @brief Copying is not allowed */ AbstractTexture& operator=(const AbstractTexture&) = delete; diff --git a/src/Magnum/TextureArray.h b/src/Magnum/TextureArray.h index 064c08cf8..bdf197a88 100644 --- a/src/Magnum/TextureArray.h +++ b/src/Magnum/TextureArray.h @@ -100,7 +100,8 @@ template class TextureArray: public AbstractTexture { * @brief Constructor * * Creates new OpenGL texture object. - * @see @fn_gl{GenTextures} with @def_gl{TEXTURE_1D_ARRAY} or @def_gl{TEXTURE_2D_ARRAY} + * @see @fn_gl{GenTextures} with @def_gl{TEXTURE_1D_ARRAY} or + * @def_gl{TEXTURE_2D_ARRAY} */ explicit TextureArray(): AbstractTexture(Implementation::textureArrayTarget()) {}