From 71d1bd21361339f7f1709cb1cfbe5e5581ecfab5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 8 Feb 2023 18:40:22 +0100 Subject: [PATCH] Trade: order MeshData::primitive() as the first thing there. It doesn't belong among the data accessors. --- src/Magnum/Trade/MeshData.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Magnum/Trade/MeshData.h b/src/Magnum/Trade/MeshData.h index ba8734a9a..72b045a7d 100644 --- a/src/Magnum/Trade/MeshData.h +++ b/src/Magnum/Trade/MeshData.h @@ -1126,6 +1126,9 @@ class MAGNUM_TRADE_EXPORT MeshData { /** @brief Move assignment */ MeshData& operator=(MeshData&&) noexcept; + /** @brief Primitive */ + MeshPrimitive primitive() const { return _primitive; } + /** * @brief Index data flags * @@ -1142,9 +1145,6 @@ class MAGNUM_TRADE_EXPORT MeshData { */ DataFlags vertexDataFlags() const { return _vertexDataFlags; } - /** @brief Primitive */ - MeshPrimitive primitive() const { return _primitive; } - /** * @brief Raw index data *