This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] fix libstdc++/55861


        PR libstdc++/55861
        * include/std/future (_State_base::_S_check(const shared_ptr<T>&)):
        Fix return type.
        (__basic_future::_M_get_result()): Const qualify.
        (shared_future::get()): Likewise.
        * testsuite/30_threads/shared_future/members/get.cc: Use const
        objects.

Tested x86_64-linux, committed to trunk.

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]