diff options
| author | Roberto Raggi <[email protected]> | 2010-05-20 13:44:38 +0200 |
|---|---|---|
| committer | Roberto Raggi <[email protected]> | 2010-05-20 15:22:09 +0200 |
| commit | 3b113a2d7449344ef51e908c5a7d85e5a9eecdcc (patch) | |
| tree | be0f4f9d547e5f1f9ab1442950f87959c503a2eb /src/libs/cplusplus/ResolveExpression.cpp | |
| parent | e07c34017e5fd9d9a9cb929c284be9004dd74b95 (diff) | |
Deprecate the old template instantiation.
Diffstat (limited to 'src/libs/cplusplus/ResolveExpression.cpp')
| -rw-r--r-- | src/libs/cplusplus/ResolveExpression.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/cplusplus/ResolveExpression.cpp b/src/libs/cplusplus/ResolveExpression.cpp index be0d0739b0f..dc7ccbf04c8 100644 --- a/src/libs/cplusplus/ResolveExpression.cpp +++ b/src/libs/cplusplus/ResolveExpression.cpp @@ -30,7 +30,7 @@ #include "ResolveExpression.h" #include "LookupContext.h" #include "Overview.h" -#include "GenTemplateInstance.h" +#include "DeprecatedGenTemplateInstance.h" #include <Control.h> #include <AST.h> @@ -604,7 +604,7 @@ ClassOrNamespace *ResolveExpression::baseExpression(const QList<LookupItem> &bas foreach (Symbol *overload, binding->find(arrowOp)) { if (overload->type()->isFunctionType()) { - FullySpecifiedType overloadTy = GenTemplateInstance::instantiate(binding->templateId(), overload, control()); + FullySpecifiedType overloadTy = DeprecatedGenTemplateInstance::instantiate(binding->templateId(), overload, control()); Function *instantiatedFunction = overloadTy->asFunctionType(); Q_ASSERT(instantiatedFunction != 0); @@ -641,7 +641,7 @@ ClassOrNamespace *ResolveExpression::baseExpression(const QList<LookupItem> &bas FullySpecifiedType ResolveExpression::instantiate(const Name *className, Symbol *candidate) const { - return GenTemplateInstance::instantiate(className, candidate, _context.control()); + return DeprecatedGenTemplateInstance::instantiate(className, candidate, _context.control()); } bool ResolveExpression::visit(PostIncrDecrAST *) |
