you need to call a function that has the same name as the class-method,
you can use ::read();
if I'm not mistaken
Blah::Blah(){
read(); <- class method read.
::read(); <- outside of the class, function read.
}
On Mon, Jan 16, 2012 at 7:33 AM, Philipp Schmidt wrote:
> Hi,
>
>
>
> while
Hi,
while implementing the get() method of my MTP Kio-Slave I ran into the problem
that SlaveBase implements a read() function itself, therefore the compiler
tells me there is no candidate for read(int fd, void* buffer, int length)
[...]/kio_mtp.cpp:160:50: error: no matching function for call