|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83260 - trunk/libs/thread/src/win32
From: vicente.botet_at_[hidden]
Date: 2013-03-03 04:53:26
Author: viboes
Date: 2013-03-03 04:53:25 EST (Sun, 03 Mar 2013)
New Revision: 83260
URL: http://svn.boost.org/trac/boost/changeset/83260
Log:
Thread: remove warning
Text files modified:
trunk/libs/thread/src/win32/thread.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/libs/thread/src/win32/thread.cpp
==============================================================================
--- trunk/libs/thread/src/win32/thread.cpp (original)
+++ trunk/libs/thread/src/win32/thread.cpp 2013-03-03 04:53:25 EST (Sun, 03 Mar 2013)
@@ -402,7 +402,8 @@
unsigned thread::hardware_concurrency() BOOST_NOEXCEPT
{
- SYSTEM_INFO info={{0}};
+ //SYSTEM_INFO info={{0}};
+ SYSTEM_INFO info;
GetSystemInfo(&info);
return info.dwNumberOfProcessors;
}
@@ -425,7 +426,7 @@
{
LARGE_INTEGER get_due_time(detail::timeout const& target_time)
{
- LARGE_INTEGER due_time={{0}};
+ LARGE_INTEGER due_time={{0,0}};
if(target_time.relative)
{
unsigned long const elapsed_milliseconds=GetTickCount()-target_time.start;
@@ -439,7 +440,7 @@
}
else
{
- SYSTEMTIME target_system_time={0};
+ SYSTEMTIME target_system_time={0,0,0,0,0,0,0,0};
target_system_time.wYear=target_time.abs_time.date().year();
target_system_time.wMonth=target_time.abs_time.date().month();
target_system_time.wDay=target_time.abs_time.date().day();
@@ -748,4 +749,3 @@
}
}
-
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