summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-11-20 22:07:22 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-11-20 22:07:22 (GMT)
commitba74465fbcd2509415397c1df93b1c86e70a45ab (patch)
treed643c7e1753cd756585703ed27aa4565515ae60e /Source/cmGeneratorTarget.cxx
parent41363c0c615848e9708c9105b0daeeef98f1f427 (diff)
downloadCMake-ba74465fbcd2509415397c1df93b1c86e70a45ab.zip
CMake-ba74465fbcd2509415397c1df93b1c86e70a45ab.tar.gz
CMake-ba74465fbcd2509415397c1df93b1c86e70a45ab.tar.bz2
cmGeneratorTarget: Remove MSVC7 workaround
Use partial specialization everywhere.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 5836a27..2b531e2 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<typename Tag, typename OtherTag>
struct IsSameTag
{
@@ -72,25 +71,6 @@ struct IsSameTag<Tag, Tag>
Result = true
};
};
-#else
-struct IsSameTagBase
-{
- typedef char (&no_type)[1];
- typedef char (&yes_type)[2];
- template<typename T> struct Check;
- template<typename T> static yes_type check(Check<T>*, Check<T>*);
- static no_type check(...);
-};
-template<typename Tag1, typename Tag2>
-struct IsSameTag: public IsSameTagBase
-{
- enum {
- Result = (sizeof(check(static_cast< Check<Tag1>* >(0),
- static_cast< Check<Tag2>* >(0))) ==
- sizeof(yes_type))
- };
-};
-#endif
template<bool>
struct DoAccept