From 1a022e59ae947f1e65c3377e61aa967b15cd0743 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Tue, 18 Dec 2018 14:24:47 +0000 Subject: Gem 51a2c26d1617a5e7d6775e147a6823347e317821 osx/x86_64 built 'master:51a2c26d1617a5e7d6775e147a6823347e317821' for osx/x86_64 --- Gem/develop/include/Gem/Utils/any.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Gem/develop') diff --git a/Gem/develop/include/Gem/Utils/any.h b/Gem/develop/include/Gem/Utils/any.h index 4ce48b0..5841c79 100644 --- a/Gem/develop/include/Gem/Utils/any.h +++ b/Gem/develop/include/Gem/Utils/any.h @@ -70,11 +70,15 @@ struct fxns { struct type { static const std::type_info& get_type(void) { +#if 0 const std::type_info&res=typeid(T); // the following is a dummy use of the type_info struct // to make the template engine work properly on OSX/10.9 static std::string _ = res.name(); return res; +#else + return typeid(T); +#endif } static void static_delete(void** x) { @@ -100,8 +104,12 @@ struct fxns { struct type { static const std::type_info& get_type(void) { +#if 0 const std::type_info&res=typeid(T); return res; +#else + return typeid(T); +#endif } static void static_delete(void** x) { -- cgit v1.2.1