Bug #12563 2007-11-28 13:00

baltasarq

quick access to methods fails with duplicate methods

Say you have two classes in the file foo.h:

class A {

public:

virtual void f(int);

};

class B public A {

public:

virtual void f(int);

};

And in the foo.cpp file, you have:

void A::f()

{

}

void B::f()

{

}

The quick access selector will let you go to B::f() method, but not to the A::f() one.

I suggest you should include the class name in the method's signature for quick search.

--

Baltasar

Category
Plugin::CodeCompletion
Group
 
Status
Closed
Close date
2010-10-28 03:46
Assigned to
loaden
loaden 2010-10-28 03:46

You should use:

class B : public A {

NOT:

class B public A {