Sascha 'saigkill' Manns wrote:
This is the code from them. BrowserIter &BrowserIter::operator=( const BrowserIter &other ) { m_infBrowser = other.infBrowser(); m_infBrowserIter.node_id = other.infBrowserIter()->node_id; m_infBrowserIter.node = other.infBrowserIter()->node; return ; } What must i change?
Aha! When you overload assignment operator (=), it should end with "return *this;" so it could be chained (eg. a = b = 3). Just insert "*this" between "return" and ";". -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org