Commit 159aac50 authored by Dominik Charousset's avatar Dominik Charousset

Fix compilation with logging enabled

parent 7c2f8d0a
...@@ -347,7 +347,7 @@ scheduled_actor::categorize(mailbox_element& x) { ...@@ -347,7 +347,7 @@ scheduled_actor::categorize(mailbox_element& x) {
} }
invoke_message_result scheduled_actor::consume(mailbox_element& x) { invoke_message_result scheduled_actor::consume(mailbox_element& x) {
CAF_LOG_TRACE(CAF_ARG(*x)); CAF_LOG_TRACE(CAF_ARG(x));
current_element_ = &x; current_element_ = &x;
// short-circuit awaited responses // short-circuit awaited responses
if (! awaited_responses_.empty()) { if (! awaited_responses_.empty()) {
...@@ -508,7 +508,7 @@ bool scheduled_actor::activate(execution_unit* ctx) { ...@@ -508,7 +508,7 @@ bool scheduled_actor::activate(execution_unit* ctx) {
auto scheduled_actor::activate(execution_unit* ctx, mailbox_element& x) auto scheduled_actor::activate(execution_unit* ctx, mailbox_element& x)
-> activation_result { -> activation_result {
CAF_LOG_TRACE(x); CAF_LOG_TRACE(CAF_ARG(x));
if (! activate(ctx)) if (! activate(ctx))
return activation_result::terminated; return activation_result::terminated;
return reactivate(x); return reactivate(x);
......
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