Changed call_once to header-only template that takes arbitrary function objects; this changes parameter order

[SVN r39701]
This commit is contained in:
Anthony Williams
2007-10-05 12:10:06 +00:00
parent 768c8c5d88
commit e1484fc788
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ private:
{
#ifdef TEST_THREADS
static boost::once_flag f = BOOST_ONCE_INIT;
boost::call_once(&init_data, f);
boost::call_once(f,&init_data);
return do_get_data();
#else
static data_type d;