Browse Source

Merge pull request #1090 from gottfriedleibniz/fix-neverinline

fix: GLM_NEVER_INLINE #1090
Christophe 3 years ago
parent
commit
1022fdf6d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/detail/setup.hpp

+ 1 - 1
glm/detail/setup.hpp

@@ -434,7 +434,7 @@
 #if defined(GLM_FORCE_INLINE)
 #if defined(GLM_FORCE_INLINE)
 #	if GLM_COMPILER & GLM_COMPILER_VC
 #	if GLM_COMPILER & GLM_COMPILER_VC
 #		define GLM_INLINE __forceinline
 #		define GLM_INLINE __forceinline
-#		define GLM_NEVER_INLINE __declspec((noinline))
+#		define GLM_NEVER_INLINE __declspec(noinline)
 #	elif GLM_COMPILER & (GLM_COMPILER_GCC | GLM_COMPILER_CLANG)
 #	elif GLM_COMPILER & (GLM_COMPILER_GCC | GLM_COMPILER_CLANG)
 #		define GLM_INLINE inline __attribute__((__always_inline__))
 #		define GLM_INLINE inline __attribute__((__always_inline__))
 #		define GLM_NEVER_INLINE __attribute__((__noinline__))
 #		define GLM_NEVER_INLINE __attribute__((__noinline__))