Fixed __is_pod.

This commit is contained in:
bkaradzic
2013-09-23 20:51:03 -07:00
parent 2be64b6874
commit 4c48d99b32

View File

@@ -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))