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()) {}