| Submitter | Jonathan Wakely |
|---|---|
| Date | Dec. 23, 2011, 5:06 p.m. |
| Message ID | <CAH6eHdS-yjdazYm6srmn_ibKN87uWaR8OQbGx7uLsAVwGiO2xw@mail.gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/133100/ |
| State | New |
| Headers | show |
Comments
Patch
Index: include/std/future =================================================================== --- include/std/future (revision 182657) +++ include/std/future (revision 182658) @@ -60,10 +60,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION /// Error code for futures enum class future_errc { - broken_promise, - future_already_retrieved, + future_already_retrieved = 1, promise_already_satisfied, - no_state + no_state, + broken_promise }; /// Specialization.
PR libstdc++/49204 * include/std/future (future_errc): Implement LWG 2056. tested x86_84-linux, committed to trunk