Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84226 - trunk/libs/log/src
From: andrey.semashev_at_[hidden]
Date: 2013-05-10 12:25:44


Author: andysem
Date: 2013-05-10 12:25:44 EDT (Fri, 10 May 2013)
New Revision: 84226
URL: http://svn.boost.org/trac/boost/changeset/84226

Log:
Fixed compilation with BOOST_LOG_USE_COMPILER_TLS defined.
Text files modified:
   trunk/libs/log/src/named_scope.cpp | 4 ++--
   trunk/libs/log/src/thread_id.cpp | 2 +-
   2 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/libs/log/src/named_scope.cpp
==============================================================================
--- trunk/libs/log/src/named_scope.cpp (original)
+++ trunk/libs/log/src/named_scope.cpp 2013-05-10 12:25:44 EDT (Fri, 10 May 2013)
@@ -196,8 +196,8 @@
 
 #if defined(BOOST_LOG_USE_COMPILER_TLS)
 //! Cached pointer to the thread-specific scope stack
-BOOST_LOG_TLS named_scope::implementation::scope_list*
-named_scope::implementation::pScopesCache = NULL;
+BOOST_LOG_TLS named_scope::impl::scope_list*
+named_scope::impl::pScopesCache = NULL;
 #endif // defined(BOOST_LOG_USE_COMPILER_TLS)
 
 

Modified: trunk/libs/log/src/thread_id.cpp
==============================================================================
--- trunk/libs/log/src/thread_id.cpp (original)
+++ trunk/libs/log/src/thread_id.cpp 2013-05-10 12:25:44 EDT (Fri, 10 May 2013)
@@ -125,7 +125,7 @@
 
 struct id_storage
 {
- aligned_storage< thread::id, alignment_of< thread::id >::value >::type m_storage;
+ aligned_storage< sizeof(thread::id), alignment_of< thread::id >::value >::type m_storage;
     bool m_initialized;
 };
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk