mirror of
https://github.com/boostorg/regex.git
synced 2025-07-16 13:52:17 +02:00
Changed call_once to header-only template that takes arbitrary function objects; this changes parameter order
[SVN r39701]
This commit is contained in:
@ -155,7 +155,7 @@ void scoped_static_mutex_lock::lock()
|
||||
{
|
||||
if(0 == m_have_lock)
|
||||
{
|
||||
boost::call_once(&static_mutex::init, static_mutex::m_once);
|
||||
boost::call_once(static_mutex::m_once,&static_mutex::init);
|
||||
if(0 == m_plock)
|
||||
m_plock = new boost::recursive_mutex::scoped_lock(*static_mutex::m_pmutex, false);
|
||||
m_plock->lock();
|
||||
|
Reference in New Issue
Block a user