diff --git a/doc/changelog.dox b/doc/changelog.dox index f828443ab..9c8cf6b2c 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -93,6 +93,13 @@ See also: - @ref Trade::CameraData constructor not taking an explicit type enum, use @ref Trade::CameraData::CameraData(CameraType, Rad, Float, Float, Float, const void*) instead +- All includes of @ref Corrade/Containers/PointerStl.h and + @ref Corrade/Containers/ArrayViewStl.h that were added in 2019.01 for + preserving backwards compatibility after the move from @ref std::unique_ptr + / @ref std::vector to @ref Corrade::Containers::Pointer / + @ref Corrade::Containers::ArrayView are now removed. This should have a + significant positive effect on compile times of code using the @ref GL, + @ref Audio, @ref Trade and @ref Text librariess @section changelog-2020-06 2020.06 diff --git a/doc/snippets/MagnumMeshTools-gl.cpp b/doc/snippets/MagnumMeshTools-gl.cpp index f27574db4..d78b8e971 100644 --- a/doc/snippets/MagnumMeshTools-gl.cpp +++ b/doc/snippets/MagnumMeshTools-gl.cpp @@ -34,6 +34,10 @@ #include "Magnum/MeshTools/Interleave.h" #include "Magnum/Trade/MeshData.h" +#ifdef MAGNUM_BUILD_DEPRECATED +#include +#endif + using namespace Magnum; int main() { diff --git a/src/Magnum/MeshTools/Compile.h b/src/Magnum/MeshTools/Compile.h index d2b6d95aa..5d6cd0d9e 100644 --- a/src/Magnum/MeshTools/Compile.h +++ b/src/Magnum/MeshTools/Compile.h @@ -40,8 +40,6 @@ #include "Magnum/MeshTools/visibility.h" #ifdef MAGNUM_BUILD_DEPRECATED -#include -#include /* deliberately kept here */ #include #endif diff --git a/src/Magnum/Text/AbstractFont.h b/src/Magnum/Text/AbstractFont.h index 88052a3f3..cd3bff9a8 100644 --- a/src/Magnum/Text/AbstractFont.h +++ b/src/Magnum/Text/AbstractFont.h @@ -38,10 +38,6 @@ #include "Magnum/Text/Text.h" #include "Magnum/Text/visibility.h" -#ifdef MAGNUM_BUILD_DEPRECATED -#include -#endif - namespace Magnum { namespace Text { /** diff --git a/src/Magnum/Text/AbstractFontConverter.h b/src/Magnum/Text/AbstractFontConverter.h index ef9ab5779..29ab68e73 100644 --- a/src/Magnum/Text/AbstractFontConverter.h +++ b/src/Magnum/Text/AbstractFontConverter.h @@ -37,10 +37,6 @@ #include "Magnum/Text/Text.h" #include "Magnum/Text/visibility.h" -#ifdef MAGNUM_BUILD_DEPRECATED -#include -#endif - #ifdef CORRADE_TARGET_LIBCXX #include /* Libc++ doesn't have std::u32string in the fwdecl */ #else