14 Dec
2004
14 Dec
'04
12:52 p.m.
On Mon, Dec 13, 2004 at 07:52:44PM +0000, Ben Hutchings wrote:
This calls the constructor you expected once, and then the copy constructor as well. If you don't want the BackupHandlerThread to be copied, I think you need to construct it other than as a temporary and pass a reference wrapper (boost::ref<BackupHandlerThread>) to the thread constructor.
Ahhh, this solution indeed works - thanks a lot for your quick response! Regards, Leon Mergen