]> git.mxchange.org Git - simgear.git/commitdiff
Removed SG_STATIC_CONST define.
authorcurt <curt>
Thu, 16 May 2002 02:44:35 +0000 (02:44 +0000)
committercurt <curt>
Thu, 16 May 2002 02:44:35 +0000 (02:44 +0000)
simgear/compiler.h

index 41b43c48b21d0d38547ea3d215dbadd9a2de0c55..9d6136f27f0cfee7136e7b12ca76fb6913bcaec4 100644 (file)
@@ -457,17 +457,4 @@ inline const_mem_fun_ref_t<_Ret,_Tp> mem_fun_ref(_Ret (_Tp::*__f)() const)
 
 #endif // SG_INCOMPLETE_FUNCTIONAL
 
 
 #endif // SG_INCOMPLETE_FUNCTIONAL
 
-/**
- * SG_STATIC_CONSTANT workaround.
- * On compilers which don't allow in-class initialization of static integral
- * constant members, we must use enums as a workaround if we want the constants
- * to be available at compile-time. This macro gives us a convenient way to
- * declare such constants.
- */
-#ifdef SG_NO_INCLASS_MEMBER_INITIALIZATION
-#  define SG_STATIC_CONST(type,assignment) enum { assignment }
-#else
-#  define SG_STATIC_CONST(type,assignment) static const type assignment
-#endif
-
 #endif // _SG_COMPILER_H
 #endif // _SG_COMPILER_H