j
k
j a
j l
scott velasquez wrote:
void Add( boost::shared_ptr<OWidget>& widget ) { mWidgets.pushback(widget); }
Use a const reference: void Add( boost::shared_ptr<OWidget> const & widget ) to enable conversions.
Back to the thread
Back to the list