Remove unused macro

This commit is contained in:
Behdad Esfahbod 2010-04-22 16:52:09 -04:00
parent 3b2c2df41b
commit c38188a191
1 changed files with 0 additions and 1 deletions

View File

@ -45,7 +45,6 @@ template <typename Type> inline const char * CharP (const Type* X) { return rein
template <typename Type> inline char * CharP (Type* X) { return reinterpret_cast<char *>(X); }
#define CONST_CAST(T,X,Ofs) (*(reinterpret_cast<const T *>(CharP(&(X)) + Ofs)))
#define DECONST_CAST(T,X,Ofs) (*(reinterpret_cast<T *>((char *)CharP(&(X)) + Ofs)))
#define CAST(T,X,Ofs) (*(reinterpret_cast<T *>(CharP(&(X)) + Ofs)))