Commit 6c187e09 authored by Dominik Charousset's avatar Dominik Charousset

Fix compiler errors with logging enabled

parent c1502009
...@@ -46,7 +46,7 @@ stream_scatterer::~stream_scatterer() { ...@@ -46,7 +46,7 @@ stream_scatterer::~stream_scatterer() {
pointer stream_scatterer::add_path(stream_slots slots, pointer stream_scatterer::add_path(stream_slots slots,
strong_actor_ptr target) { strong_actor_ptr target) {
CAF_LOG_TRACE(CAF_ARG(slots) << CAF_ARG(target) << CAF_ARG(handshake_data)); CAF_LOG_TRACE(CAF_ARG(slots) << CAF_ARG(target));
auto res = paths_.emplace(slots, nullptr); auto res = paths_.emplace(slots, nullptr);
if (res.second) { if (res.second) {
auto ptr = new outbound_path(slots, std::move(target)); auto ptr = new outbound_path(slots, std::move(target));
......
...@@ -62,7 +62,7 @@ struct print_with_comma_t { ...@@ -62,7 +62,7 @@ struct print_with_comma_t {
} }
template <class T> template <class T>
std::ostream& operator()(std::ostream& out, const logger::arg_wrapper<T>& x) { std::ostream& operator()(std::ostream& out, const detail::arg_wrapper<T>& x) {
if (!first) if (!first)
out << ", "; out << ", ";
else else
......
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