Commit 20476587 authored by Dominik Charousset's avatar Dominik Charousset

Fix build with profiling enabled

parent 9d830b84
...@@ -283,7 +283,7 @@ void blocking_actor::receive_impl(receive_cond& rcc, message_id mid, ...@@ -283,7 +283,7 @@ void blocking_actor::receive_impl(receive_cond& rcc, message_id mid,
// Dispatch on the current mailbox element. // Dispatch on the current mailbox element.
if (consume()) { if (consume()) {
unstash(); unstash();
CAF_AFTER_PROCESSING(self, invoke_message_result::consumed); CAF_AFTER_PROCESSING(this, invoke_message_result::consumed);
CAF_LOG_FINALIZE_EVENT(); CAF_LOG_FINALIZE_EVENT();
if (getf(abstract_actor::collects_metrics_flag)) { if (getf(abstract_actor::collects_metrics_flag)) {
auto& builtins = builtin_metrics(); auto& builtins = builtin_metrics();
...@@ -298,7 +298,7 @@ void blocking_actor::receive_impl(receive_cond& rcc, message_id mid, ...@@ -298,7 +298,7 @@ void blocking_actor::receive_impl(receive_cond& rcc, message_id mid,
continue; continue;
} }
// Message was skipped. // Message was skipped.
CAF_AFTER_PROCESSING(self, invoke_message_result::skipped); CAF_AFTER_PROCESSING(this, invoke_message_result::skipped);
CAF_LOG_SKIP_EVENT(); CAF_LOG_SKIP_EVENT();
stash_.push(ptr.release()); stash_.push(ptr.release());
} }
......
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