You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
remove std::auto_ptr
This commit is contained in:
@ -75,9 +75,8 @@ public:
|
|||||||
boost::thread* create_thread(F threadfunc)
|
boost::thread* create_thread(F threadfunc)
|
||||||
{
|
{
|
||||||
boost::lock_guard<boost::shared_mutex> guard(m);
|
boost::lock_guard<boost::shared_mutex> guard(m);
|
||||||
std::auto_ptr<boost::thread> new_thread(new boost::thread(threadfunc));
|
threads.push_back(new boost::thread(threadfunc));
|
||||||
threads.push_back(new_thread.get());
|
return threads.back();
|
||||||
return new_thread.release();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void add_thread(boost::thread* thrd)
|
void add_thread(boost::thread* thrd)
|
||||||
|
Reference in New Issue
Block a user