diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 5836a273c..2b531e27a 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -56,7 +56,6 @@ struct ModuleDefinitionFileTag {}; struct AppManifestTag{}; struct CertificatesTag{}; -#if !defined(_MSC_VER) || _MSC_VER >= 1310 template struct IsSameTag { @@ -72,25 +71,6 @@ struct IsSameTag Result = true }; }; -#else -struct IsSameTagBase -{ - typedef char (&no_type)[1]; - typedef char (&yes_type)[2]; - template struct Check; - template static yes_type check(Check*, Check*); - static no_type check(...); -}; -template -struct IsSameTag: public IsSameTagBase -{ - enum { - Result = (sizeof(check(static_cast< Check* >(0), - static_cast< Check* >(0))) == - sizeof(yes_type)) - }; -}; -#endif template struct DoAccept