From kde-commits Sat Jan 31 22:56:47 2009 From: Andreas Pakulat Date: Sat, 31 Jan 2009 22:56:47 +0000 To: kde-commits Subject: KDE/kdevelop/plugins/languages/cpp/cppduchain Message-Id: <1233442607.176117.5194.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=123344262412531 SVN commit 919424 by apaku: Forward declare the template-specialization, this should make msvc see that it exists and use it (hence not going to the assert) and it still compiles and links on linux. M +4 -0 templatedeclaration.h --- trunk/KDE/kdevelop/plugins/languages/cpp/cppduchain/templatedeclaration.h #919423:919424 @@ -24,6 +24,7 @@ #include #include +#include #include #include #include @@ -350,6 +351,9 @@ * */ AbstractType::Ptr resolveDelayedTypes( AbstractType::Ptr type, const KDevelop::DUContext* context, const KDevelop::TopDUContext* source, KDevelop::DUContext::SearchFlags searchFlags = KDevelop::DUContext::NoUndefinedTemplateParams ); +template<> +Declaration* SpecialTemplateDeclaration::resolve(const TopDUContext* topContext) const; + } #endif