summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Ridge2013-07-24 20:50:42 (EDT)
committerSergey Prigogin2013-07-28 16:07:03 (EDT)
commit5b6fca2b3261c008dfd07307829e7d3505df6b7a (patch)
tree5cfff8b21d412e78749a0f987055f457e31bcb7d
parentbb84b5cba3e1948297c22ed4f327a2e74973c6da (diff)
downloadorg.eclipse.cdt-5b6fca2b3261c008dfd07307829e7d3505df6b7a.zip
org.eclipse.cdt-5b6fca2b3261c008dfd07307829e7d3505df6b7a.tar.gz
org.eclipse.cdt-5b6fca2b3261c008dfd07307829e7d3505df6b7a.tar.bz2
Fixed another "unsafe method call" exception.
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) {