2
0
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:
John Maddock
2002-05-04 10:55:15 +00:00
parent 643d030284
commit 495b540e05

View File

@@ -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;