Ignore:
Timestamp:
2019-07-02T13:08:59Z (6 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/packaged_task.hpp

    r5d71d09 rd276424f  
    7777                : func_{forward<F>(f)}, state_{}
    7878            {
    79                 auto rebound = allocator_traits<Allocator>::rebind<
    80                     aux::shared_state<R>
    81                 >{a};
     79                typename allocator_traits<
     80                    Allocator
     81                >::template rebind_alloc<aux::shared_state<R>> rebound{a};
    8282
    8383                state_ = rebound.allocate(1);
Note: See TracChangeset for help on using the changeset viewer.