From 8c757df970627b4a11e0b13decb2445ee0fd6e09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 11 Sep 2023 12:13:18 +0200 Subject: [PATCH] Document what the remaining includes are for. Need to get rid of them in Math. --- src/Magnum/Audio/Buffer.h | 2 +- src/Magnum/Math/Algorithms/KahanSum.h | 2 +- src/Magnum/Math/Functions.h | 2 +- src/Magnum/Math/Vector.h | 2 +- src/Magnum/PixelStorage.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Magnum/Audio/Buffer.h b/src/Magnum/Audio/Buffer.h index d1813cd06..979ba189d 100644 --- a/src/Magnum/Audio/Buffer.h +++ b/src/Magnum/Audio/Buffer.h @@ -31,7 +31,7 @@ */ #include -#include +#include /* std::pair */ #include diff --git a/src/Magnum/Math/Algorithms/KahanSum.h b/src/Magnum/Math/Algorithms/KahanSum.h index 2de79b5c6..677bc782e 100644 --- a/src/Magnum/Math/Algorithms/KahanSum.h +++ b/src/Magnum/Math/Algorithms/KahanSum.h @@ -29,7 +29,7 @@ * @brief Function @ref Magnum::Math::Algorithms::kahanSum() */ -#include +#include /* std::declval :( */ namespace Magnum { namespace Math { namespace Algorithms { diff --git a/src/Magnum/Math/Functions.h b/src/Magnum/Math/Functions.h index a10206010..dfad4aa6a 100644 --- a/src/Magnum/Math/Functions.h +++ b/src/Magnum/Math/Functions.h @@ -34,7 +34,7 @@ #include /* std::div() */ #include -#include +#include /* std::pair */ #include #include diff --git a/src/Magnum/Math/Vector.h b/src/Magnum/Math/Vector.h index 19910e024..44cdc8edb 100644 --- a/src/Magnum/Math/Vector.h +++ b/src/Magnum/Math/Vector.h @@ -29,7 +29,7 @@ * @brief Class @ref Magnum::Math::Vector, function @ref Magnum::Math::dot(), @ref Magnum::Math::angle() */ -#include +#include /* std::pair */ #ifndef CORRADE_NO_DEBUG #include #endif diff --git a/src/Magnum/PixelStorage.h b/src/Magnum/PixelStorage.h index 0745bac02..1c570a462 100644 --- a/src/Magnum/PixelStorage.h +++ b/src/Magnum/PixelStorage.h @@ -30,7 +30,7 @@ */ #include -#include +#include /* std::pair */ #include "Magnum/Magnum.h" #include "Magnum/Math/Vector3.h"