From 0fb8874351e4e616ba58aff686f3568df6831275 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Tue, 7 Aug 2012 12:24:52 -0700 Subject: [PATCH] Bug 299911. A minor bug fix. --- .../cpp/CompositeCPPClassSpecializationScope.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/cpp/CompositeCPPClassSpecializationScope.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/cpp/CompositeCPPClassSpecializationScope.java index e184fb5baec..3a1ef81a859 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/cpp/CompositeCPPClassSpecializationScope.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/cpp/CompositeCPPClassSpecializationScope.java @@ -8,6 +8,7 @@ * Contributors: * Andrew Ferguson (Symbian) - Initial implementation * Markus Schorn (Wind River Systems) + * Sergey Prigogin (Google) *******************************************************************************/ package org.eclipse.cdt.internal.core.index.composite.cpp; @@ -67,14 +68,14 @@ public class CompositeCPPClassSpecializationScope extends CompositeScope impleme } @Override - public ICPPMethod[] getImplicitMethods(IASTNode point) { - return getImplicitMethods(null); + public ICPPMethod[] getImplicitMethods() { + return getImplicitMethods(null); // Instantiation of dependent expression may not work. } @Override - public ICPPMethod[] getImplicitMethods() { + public ICPPMethod[] getImplicitMethods(IASTNode point) { createDelegate(); - return fDelegate.getImplicitMethods(); + return fDelegate.getImplicitMethods(point); } @Override @@ -103,7 +104,7 @@ public class CompositeCPPClassSpecializationScope extends CompositeScope impleme @Override public ICPPConstructor[] getConstructors() { - return getConstructors(null); + return getConstructors(null); // Instantiation of dependent expression may not work. } @Override