[Bf-blender-cvs] [401de3d4834] bli-math-basic-types: Cleanup: Remove unnecessary `#undef`

Hans Goudey noreply at git.blender.org
Wed Feb 16 16:34:08 CET 2022


Commit: 401de3d483432ebfa47ca2166d0fbfe99f392d8c
Author: Hans Goudey
Date:   Tue Feb 15 11:54:22 2022 -0600
Branches: bli-math-basic-types
https://developer.blender.org/rB401de3d483432ebfa47ca2166d0fbfe99f392d8c

Cleanup: Remove unnecessary `#undef`

===================================================================

M	source/blender/blenlib/BLI_math_base.hh

===================================================================

diff --git a/source/blender/blenlib/BLI_math_base.hh b/source/blender/blenlib/BLI_math_base.hh
index 828130374bd..02a13d6472a 100644
--- a/source/blender/blenlib/BLI_math_base.hh
+++ b/source/blender/blenlib/BLI_math_base.hh
@@ -102,8 +102,4 @@ template<typename T, BLI_ENABLE_IF((math_is_float<T>))> inline T midpoint(const
   return (a + b) * T(0.5);
 }
 
-#undef BLI_ENABLE_IF_BASE
-#undef BLI_ENABLE_IF_FLT
-#undef BLI_ENABLE_IF_INT
-
 }  // namespace blender::math



More information about the Bf-blender-cvs mailing list