From b573e4a084ec8fac13c3d434724cf8dfba3457b1 Mon Sep 17 00:00:00 2001 From: TimePath Date: Sun, 13 Dec 2015 11:31:54 +1100 Subject: [PATCH] etof hack: we don't need this anymore --- qcsrc/lib/misc.qh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/qcsrc/lib/misc.qh b/qcsrc/lib/misc.qh index 589783ae9..cecb15a11 100644 --- a/qcsrc/lib/misc.qh +++ b/qcsrc/lib/misc.qh @@ -33,14 +33,6 @@ // already defined #endif -// avoid bounds checks -#undef etof -#if 1 - #define etof(e) ITOF(reinterpret_cast(int, e)) -#else - #define etof(e) stof(sprintf("%i", e)) -#endif - #define GET(name) name##get #define GETTER(type, name) type GET(name)() { return name; } #define PROPERTY(type, name) type name; GETTER(type, name) -- 2.39.5