1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 395884 - Fixed yet another bug introduced in the previous commit.

This commit is contained in:
Sergey Prigogin 2012-12-05 21:57:48 -08:00
parent b7643e8b81
commit 2c0a41d671

View file

@ -132,7 +132,7 @@ public class EvalBinding extends CPPEvaluation {
*/
public ICPPFunction getParameterOwner() {
if (fParameterOwner == null && fBinding instanceof ICPPParameter) {
IBinding owner = ((CPPParameter) fBinding).getOwner();
IBinding owner = fBinding.getOwner();
if (owner instanceof ICPPFunction)
fParameterOwner = (ICPPFunction) owner;
}