[Interest] Klocwork error in Qt5 concurrentwrapper
Thiago Macieira
thiago.macieira at intel.com
Sun May 31 08:30:54 CEST 2020
On Saturday, 30 May 2020 11:03:57 PDT Ramakanth Kesireddy wrote:
> Void function returns value VOIDRET pointing to the below code in
> qtbase/src/concurrent/qtconcurrentfunctionwrappers.h.
>
> template <class C, class U>
> inline void operator()(C &c, U &&u) const
> {
> return c.push_back(u);
> }
>
> Could you please let me know if the below singleton class code would
> trigger above error and be ignored or not?
Can you explain what the error is in the first place? Your tool seems to be
complaining that a void function returned the void of another function, but
there should be no harm in that.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel System Software Products
More information about the Interest
mailing list