Commit 07fd73e2 authored by Joseph Noir's avatar Joseph Noir

Fix compilation with logging

parent 562b7798
...@@ -137,7 +137,7 @@ public: ...@@ -137,7 +137,7 @@ public:
// -- overridden modifiers of abstract_actor --------------------------------- // -- overridden modifiers of abstract_actor ---------------------------------
void enqueue(mailbox_element_ptr ptr, execution_unit*) override { void enqueue(mailbox_element_ptr ptr, execution_unit*) override {
CAF_PUSH_AID(id()); CAF_PUSH_AID(this->id());
scheduled_actor::enqueue(std::move(ptr), &backend()); scheduled_actor::enqueue(std::move(ptr), &backend());
} }
...@@ -168,7 +168,7 @@ public: ...@@ -168,7 +168,7 @@ public:
init_newb(); init_newb();
auto bhvr = make_behavior(); auto bhvr = make_behavior();
CAF_LOG_DEBUG_IF(!bhvr, "make_behavior() did not return a behavior:" CAF_LOG_DEBUG_IF(!bhvr, "make_behavior() did not return a behavior:"
<< CAF_ARG(has_behavior())); << CAF_ARG(this->has_behavior()));
if (bhvr) { if (bhvr) {
// make_behavior() did return a behavior instead of using become() // make_behavior() did return a behavior instead of using become()
CAF_LOG_DEBUG("make_behavior() did return a valid behavior"); CAF_LOG_DEBUG("make_behavior() did return a valid behavior");
......
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