2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-17 13:42:21 +00:00

use std::allocator_arg for execution_context ctor

This commit is contained in:
Oliver Kowalke
2015-09-27 16:09:11 +02:00
parent 6e479279dd
commit 73b03c1d67
2 changed files with 3 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ context::context( dispatcher_context_t, boost::context::preallocated const& pall
use_count_( 0), // scheduler will own dispatcher context
flags_( flag_dispatcher_context),
scheduler_( nullptr),
ctx_( palloc, salloc,
ctx_( std::allocator_arg, palloc, salloc,
[=] () -> void {
// execute scheduler::dispatch()
sched->dispatch();