From f2996fc3fd5c421e824c45262b330befb88a2346 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sat, 1 Nov 2014 03:03:36 +0100 Subject: [PATCH] Clean up dead code --- glm/detail/_vectorize.hpp | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/glm/detail/_vectorize.hpp b/glm/detail/_vectorize.hpp index 203213d7..13da9a5d 100644 --- a/glm/detail/_vectorize.hpp +++ b/glm/detail/_vectorize.hpp @@ -214,28 +214,3 @@ namespace detail VECTORIZE2_VEC_SCA(func) \ VECTORIZE3_VEC_SCA(func) \ VECTORIZE4_VEC_SCA(func) - -namespace glm{ -namespace detail -{ - template - struct If - { - template - static GLM_FUNC_QUALIFIER T apply(F functor, const T& val) - { - return functor(val); - } - }; - - template<> - struct If - { - template - static GLM_FUNC_QUALIFIER T apply(F, const T& val) - { - return val; - } - }; -}//namespace detail -}//namespace glm