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 _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest