From bcebdd78875aa1cd9acda917ea34865e9710a32e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 4 Oct 2023 15:51:30 +0200 Subject: [PATCH] TextureTools: document that AtlasLandfill has destructive move. --- src/Magnum/TextureTools/Atlas.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Magnum/TextureTools/Atlas.h b/src/Magnum/TextureTools/Atlas.h index 2fcacfff2..1e40df0e3 100644 --- a/src/Magnum/TextureTools/Atlas.h +++ b/src/Magnum/TextureTools/Atlas.h @@ -218,7 +218,12 @@ class MAGNUM_TEXTURETOOLS_EXPORT AtlasLandfill { /** @brief Copying is not allowed */ AtlasLandfill(const AtlasLandfill&) = delete; - /** @brief Move constructor */ + /** + * @brief Move constructor + * + * Performs a destructive move, i.e. the original object isn't usable + * afterwards anymore. + */ AtlasLandfill(AtlasLandfill&&) noexcept; ~AtlasLandfill();