Opened 13 years ago
Closed 12 years ago
#3862 closed Patches (fixed)
future.hpp - conversion from size_t to unsigned int
Reported by: | Owned by: | Anthony Williams | |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | thread |
Version: | Boost 1.41.0 | Severity: | Problem |
Keywords: | Cc: | nigels@… |
Description
Lines 411, 413, 426 of future.hpp emit a warning (conversion from size_t to unsigned int) on Visual Studio 2005. I changed the lines to use std::vector<registered_waiter>::size_type instead, in the attached file.
Attachments (2)
Change History (5)
by , 13 years ago
Attachment: | futures-patch.hpp added |
---|
comment:1 by , 13 years ago
Do you think you could attach a unified diff instead of the whole file? It's a little hard to see exactly what you changed.
comment:2 by , 13 years ago
Cc: | added |
---|---|
Milestone: | Boost 1.42.0 → Boost 1.43.0 |
Judging by the line numbers and the description, there only remains one line to change. (See the attachment) It's entirely consistent with all_futures_lock::all_futures_lockto use count_type to iterate.
This ought to be a trivial change to resolve for 1.43.0
Patched futures.hpp