mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 04:53:06 +01:00
Fixed __is_pod.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
#include "new.h"
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#if defined(__GNUC__) && defined(__is_pod)
|
||||
# define TINYSTL_TRY_POD_OPTIMIZATION(t) __is_pod(t)
|
||||
#elif defined(_MSC_VER)
|
||||
# define TINYSTL_TRY_POD_OPTIMIZATION(t) (!__is_class(t) || __is_pod(t))
|
||||
|
||||
Reference in New Issue
Block a user