From 5e8c8b80c9ee796d06b8d0fd628d706fc75e7b6c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 11 Nov 2016 14:51:36 +0100 Subject: [PATCH] - removed bogus token paste operator. --- src/dobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dobject.h b/src/dobject.h index 3c4b23248..22ebf1305 100644 --- a/src/dobject.h +++ b/src/dobject.h @@ -176,7 +176,7 @@ protected: \ ExportedNatives(ExportedNatives&&) = delete; #define VMEXPORT_NATIVES_FUNC(func) \ - template ret func(void *ptr, args ... arglist) { return static_cast(ptr)->object::##func(arglist...); } + template ret func(void *ptr, args ... arglist) { return static_cast(ptr)->object::func(arglist...); } #define VMEXPORT_NATIVES_END(cls) };