From 6b3c2e157e6717513ff0d4cb7c0146320dfbe02a Mon Sep 17 00:00:00 2001 From: Felix Brendel Date: Sun, 20 Oct 2019 16:42:54 +0200 Subject: [PATCH] removed unecessary clang warning --- profiler.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler.hpp b/profiler.hpp index 5741c4e..7419e69 100644 --- a/profiler.hpp +++ b/profiler.hpp @@ -66,5 +66,5 @@ struct Profiler { # define profile_this Profiler profiler(__FILE__, __FUNCTION__, __LINE__) #else -# define profile_this enum {} +# define profile_this do {} while(0) #endif