Ignore:
Timestamp:
2019-07-02T13:08:59Z (5 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d3ba97d
Parents:
5d71d09
Message:

cpp: fix allocators for promise and packaged_task

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/__bits/thread/promise.hpp

    r5d71d09 rd276424f  
    5757                    : state_{}
    5858                {
    59                     auto rebound = allocator_traits<Allocator>::rebind<
    60                         aux::shared_state<R>
    61                     >{a};
     59                    typename allocator_traits<
     60                        Allocator
     61                    >::template rebind_alloc<aux::shared_state<R>> rebound{a};
    6262
    6363                    state_ = rebound.allocate(1);
Note: See TracChangeset for help on using the changeset viewer.