From b8b243257b42b8dfc3615d8414edf3bd5c6c5562 Mon Sep 17 00:00:00 2001 From: Alexandr Akulich Date: Fri, 20 May 2016 17:51:26 +0500 Subject: [PATCH] xrServerEntities/smart_cast: loki typelist now included only if needed. --- src/xrServerEntities/smart_cast.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xrServerEntities/smart_cast.h b/src/xrServerEntities/smart_cast.h index e5032f3e1fd..6e59ce89d6a 100644 --- a/src/xrServerEntities/smart_cast.h +++ b/src/xrServerEntities/smart_cast.h @@ -15,11 +15,12 @@ #define TL_FAST_COMPILATION #undef STATIC_CHECK -#include #ifdef PURE_DYNAMIC_CAST # define smart_cast dynamic_cast #else +# include + # define PURE_DYNAMIC_CAST_COMPATIBILITY_CHECK # ifdef DEBUG