Thanks, fixed.
In reply to Re^6: threads::shared referencing confusion by ikegami in thread threads::shared referencing confusion by Anonymous Monk