From 5906d27e0c4799ccfe038ae894b4f048ec935bc4 Mon Sep 17 00:00:00 2001 From: vladlosev Date: Thu, 12 May 2011 17:32:42 +0000 Subject: Simplifies the code by removing condfitional section that is no longer necessary. git-svn-id: http://googletest.googlecode.com/svn/trunk@582 861a406c-534a-0410-8894-cb66d6ee9925 --- include/gtest/internal/gtest-internal.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/gtest/internal/gtest-internal.h b/include/gtest/internal/gtest-internal.h index 7aa1197..227d818 100644 --- a/include/gtest/internal/gtest-internal.h +++ b/include/gtest/internal/gtest-internal.h @@ -797,14 +797,10 @@ struct RemoveConst { typedef T type; }; // NOLINT // MSVC 8.0, Sun C++, and IBM XL C++ have a bug which causes the above // definition to fail to remove the const in 'const int[3]' and 'const // char[3][4]'. The following specialization works around the bug. -// However, it causes trouble with GCC and thus needs to be -// conditionally compiled. -#if defined(_MSC_VER) || defined(__SUNPRO_CC) || defined(__IBMCPP__) template struct RemoveConst { typedef typename RemoveConst::type type[N]; }; -#endif // A handy wrapper around RemoveConst that works when the argument // T depends on template parameters. -- cgit v1.2.1