Commit 1ea993b2 authored by Jason Toffaletti's avatar Jason Toffaletti

fix compile error when using boost 1.52

parent 5337c059
......@@ -140,8 +140,8 @@ class fun_fiber : public fiber_impl {
m_ctx = ctx::make_fcontext(m_alloc.allocate(stacksize), stacksize, fiber_trampoline);
#ifndef NVALGRIND
m_valgrind_stack_id =
VALGRIND_STACK_REGISTER(m_ctx.fc_stack.sp,
reinterpret_cast<intptr_t>(m_ctx.fc_stack.sp)-stacksize);
VALGRIND_STACK_REGISTER(m_ctx->fc_stack.sp,
reinterpret_cast<intptr_t>(m_ctx->fc_stack.sp)-stacksize);
#endif
#endif // BOOST_VERSION
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment