On Friday 22 January 2016 01:31:20 Kevin Kofler wrote: > Marc Mutz wrote: > > Ivan was talking about thread-safe classes. You need to lock a mutex to > > take the copy. > > Returning a QMap instead of a std::shared_ptr<std::map> would be perfectly > thread-safe there.
Wrong. -- Marc Mutz <marc.m...@kdab.com> | Senior Software Engineer KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company Tel: +49-30-521325470 KDAB - The Qt Experts _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development