Skip to content

Commit b8b2432

Browse files
committed
xrServerEntities/smart_cast: loki typelist now included only if needed.
1 parent c8f87ab commit b8b2432

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/xrServerEntities/smart_cast.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@
1515

1616
#define TL_FAST_COMPILATION
1717
#undef STATIC_CHECK
18-
#include <loki/typelist.h>
1918

2019
#ifdef PURE_DYNAMIC_CAST
2120
# define smart_cast dynamic_cast
2221
#else
22+
# include <loki/typelist.h>
23+
2324
# define PURE_DYNAMIC_CAST_COMPATIBILITY_CHECK
2425

2526
# ifdef DEBUG

0 commit comments

Comments
 (0)