[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdelibs/dcop
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2003-01-31 21:53:54
[Download RAW message or body]

This commit makes two of the methods ambiguous, specifically in the use in 
Konq that you committed today.

-Scott

konq_main.cc: In function `int main(int, char **)':
konq_main.cc:104: call of overloaded `call(const char[23], QCString, 
DCOPRef::EventLoopFlag, int)' is ambiguous
/opt/kde-cvs/include/dcopref.h:457: candidates are: class DCOPReply 
DCOPRef::call<QCString>(const QCString &, const QCString &, 
DCOPRef::EventLoopFlag, int)
/opt/kde-cvs/include/dcopref.h:584:                 class DCOPReply 
DCOPRef::call<QCString, DCOPRef::EventLoopFlag, int>(const QCString &, const 
QCString &, const DCOPRef::EventLoopFlag &, const int &)
make[1]: *** [konq_main.lo] Error 1

> CVS commit by lunakl:
> 
> Where's my brown paper bag? Adding bool,int arguments to these templated
> methods was really a stupid idea. Use an extra enum type to distinguish
> the useEventLoop/timeout case.
> 
> 
>   M +3 -3      dcopref.cpp   1.16
>   M +28 -19    dcopref.h   1.21

-- 
I support the American war on intelligence.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic