mirror of
https://github.com/boostorg/pool.git
synced 2026-01-24 06:02:13 +00:00
Borland C++ Builder 6 fixes
[SVN r13659]
This commit is contained in:
@@ -64,7 +64,7 @@ struct singleton_default
|
||||
// This constructor does nothing more than ensure that instance()
|
||||
// is called before main() begins, thus creating the static
|
||||
// T object before multithreading race issues can come up.
|
||||
object_creator() { singleton_default::instance(); }
|
||||
object_creator() { singleton_default<T>::instance(); }
|
||||
inline void do_nothing() const { }
|
||||
};
|
||||
static object_creator create_object;
|
||||
|
||||
Reference in New Issue
Block a user