From bb4f6dc9d4e9b54009b7e764d3481bec8b839cd9 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Fri, 10 Mar 2017 21:40:48 +0100 Subject: [PATCH] Removed support of boost static_assrt --- glm/detail/setup.hpp | 2 -- manual.md | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/glm/detail/setup.hpp b/glm/detail/setup.hpp index 01238f52..3b5b6070 100644 --- a/glm/detail/setup.hpp +++ b/glm/detail/setup.hpp @@ -505,8 +505,6 @@ #if GLM_HAS_STATIC_ASSERT # define GLM_STATIC_ASSERT(x, message) static_assert(x, message) -#elif defined(BOOST_STATIC_ASSERT) -# define GLM_STATIC_ASSERT(x, message) BOOST_STATIC_ASSERT(x) #elif GLM_COMPILER & GLM_COMPILER_VC # define GLM_STATIC_ASSERT(x, message) typedef char __CASSERT__##__LINE__[(x) ? 1 : -1] #else diff --git a/manual.md b/manual.md index 7cacf33e..cecd6951 100644 --- a/manual.md +++ b/manual.md @@ -85,7 +85,7 @@ ### The Happy Bunny License (Modified MIT License) -Copyright (c) 2005 - 2016 G-Truc Creation +Copyright (c) 2005 - 2017 G-Truc Creation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the @@ -113,7 +113,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ### The MIT License -Copyright (c) 2005 - 2016 G-Truc Creation +Copyright (c) 2005 - 2017 G-Truc Creation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the @@ -210,7 +210,7 @@ glm::mat4 transform(glm::vec2 const& Orientation, glm::vec3 const& Translate, gl ### 1.4. Dependencies -GLM does not depend on external libraries or headers such as ``, [``](http://www.opengl.org/registry/api/GL/glcorearb.h), ``, ``, or ``. However, if we include ``, then [`Boost.StaticAssert`](http://www.boost.org/doc/libs/release/libs/static_assert) will be used to provide compile-time errors. Otherwise, if using a C++11 compiler, the standard `static_assert` will be used instead. If neither is available, GLM will use its own implementation of `static_assert`. +GLM does not depend on external libraries or headers such as ``, [``](http://www.opengl.org/registry/api/GL/glcorearb.h), ``, ``, or ``. --- ## 2. Swizzling