From cf3a76b600b3d94232ffea7a8fe7be65720d113d Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Wed, 1 Nov 2006 11:19:52 +0000 Subject: [PATCH] Doing these conversions through a union is not safe either but more to the point, it isn't what's happening here. --- stepmania/src/RageUtil.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/stepmania/src/RageUtil.h b/stepmania/src/RageUtil.h index a45574f188..33581af9e8 100644 --- a/stepmania/src/RageUtil.h +++ b/stepmania/src/RageUtil.h @@ -161,8 +161,6 @@ ConvertValueHelper ConvertValue( FROM *pValue ) * that the memory location is being added to, but the value is stored in a register, * and breaking aliasing rules means the compiler doesn't know that the register * value is invalid.) - * - * Always do these conversions through a union. */ template static inline void enum_add( T &val, int iAmt )