From 742dc406fdf592f37e4e1ee02fef0e1c19bb6843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 21 Jan 2020 19:36:46 +0100 Subject: [PATCH] Math: don't include FunctionsBatch.h from Functions.h anymore. These two got split in 2019.10 but one included the other for backwards compat. It makes everything suffer from worse compile times, so not doing that anymore. --- doc/changelog.dox | 3 +++ src/Magnum/Math/Functions.h | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/changelog.dox b/doc/changelog.dox index 3f9425909..4a046f16d 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -233,6 +233,9 @@ See also: now return a signed scaling vector instead of unsigned in order to prevent information loss. To restore the old behavior, apply @ref Math::abs() on the result. +- The @ref Magnum/Math/FunctionsBatch.h header is no longer included from + @ref Magnum/Math/Functions.h for backwards compatibility in order to speed + up compile times. - @ref Platform::GlfwApplication::setMinWindowSize() / @ref Platform::GlfwApplication::setMaxWindowSize() and equivalent APIs in @ref Platform::Sdl2Application now premultiply the value with diff --git a/src/Magnum/Math/Functions.h b/src/Magnum/Math/Functions.h index 96a55532c..6270876e9 100644 --- a/src/Magnum/Math/Functions.h +++ b/src/Magnum/Math/Functions.h @@ -658,8 +658,4 @@ template inline Vector sqrtInverted(const Ve }} -#ifdef MAGNUM_BUILD_DEPRECATED -#include "Magnum/Math/FunctionsBatch.h" /** @todo remove once compat is dropped */ -#endif - #endif