summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Ridge2013-07-24 20:50:42 (EDT)
committerSergey Prigogin2013-07-25 12:59:40 (EDT)
commitedd31ce10cc5c746c00347a5e2dc485e2496588a (patch)
tree54c5b788828dad920f69afe0957f19ba5f96dce3
parent3e8475140051bf687c30f63686de63073250db01 (diff)
downloadorg.eclipse.cdt-edd31ce10cc5c746c00347a5e2dc485e2496588a.zip
org.eclipse.cdt-edd31ce10cc5c746c00347a5e2dc485e2496588a.tar.gz
org.eclipse.cdt-edd31ce10cc5c746c00347a5e2dc485e2496588a.tar.bz2
Fixed another "unsafe method call" exception.refs/changes/54/14854/2
Change-Id: I9080867272856acfd7af0e6790a6c81000cc25f1 Signed-off-by: Nathan Ridge <zeratul976@hotmail.com> Reviewed-on: https://git.eclipse.org/r/14854 Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/ClassTypeHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/ClassTypeHelper.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/ClassTypeHelper.java
index 18c6a61..21d1520 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/ClassTypeHelper.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/ClassTypeHelper.java
@@ -617,7 +617,7 @@ public class ClassTypeHelper {
if (visitedBefore != null)
return visitedBefore;
- ICPPMethod[] methods= classType.getDeclaredMethods();
+ ICPPMethod[] methods= ClassTypeHelper.getDeclaredMethods(classType, point);
ICPPMethod candidate= null;
boolean hasOverridden= false;
for (ICPPMethod method : methods) {