From a4dea80c2267f7fccbf62ae4ea3c45b0c7b2c90d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 10 Sep 2010 17:26:55 +0200 Subject: Add low-level once API that is static initialization-safe --- odb/details/win32/tls.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb/details/win32/tls.hxx') diff --git a/odb/details/win32/tls.hxx b/odb/details/win32/tls.hxx index 3354723..3dcb571 100644 --- a/odb/details/win32/tls.hxx +++ b/odb/details/win32/tls.hxx @@ -54,7 +54,7 @@ namespace odb destructor (void*); private: - static once once_; + static win32_once_t once_; static std::size_t key_; }; @@ -79,7 +79,7 @@ namespace odb key_init (); private: - static once once_; + static win32_once_t once_; static std::size_t key_; }; -- cgit v1.1