Commit 4c19bd6a authored by Jakob Otto's avatar Jakob Otto

Denoise linux build

parent ccd149ed
......@@ -76,6 +76,7 @@ public:
if (hook_ != nullptr)
hook_(self);
auto dptr = static_cast<Base*>(self);
CAF_IGNORE_UNUSED(dptr);
if constexpr (ReturnsBehavior) {
auto unbox = [](auto x) -> behavior { return std::move(x.unbox()); };
if constexpr (args_empty) {
......
......@@ -108,7 +108,8 @@ public:
return;
CAF_ASSERT(open_credit >= 0);
CAF_ASSERT(desired_batch_size > 0);
CAF_ASSERT(cache.size() <= std::numeric_limits<int32_t>::max());
CAF_ASSERT(cache.size()
<= static_cast<size_t>(std::numeric_limits<int32_t>::max()));
auto first = cache.begin();
auto last
= first + std::min(open_credit, static_cast<int32_t>(cache.size()));
......
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