Commit 0d219a24 authored by Dominik Charousset's avatar Dominik Charousset

Suppress warnings in stream deserializer

parent d1af88ed
......@@ -163,6 +163,7 @@ protected:
auto data = reinterpret_cast<char_type*>(&str[0]);
size_t n = streambuf_.sgetn(data, str_size);
CAF_ASSERT(n == str_size);
CAF_IGNORE_UNUSED(n);
end_sequence();
break;
}
......@@ -178,6 +179,7 @@ protected:
auto data = reinterpret_cast<char_type*>(&str[0]);
size_t n = streambuf_.sgetn(data, bytes);
CAF_ASSERT(n == bytes);
CAF_IGNORE_UNUSED(n);
end_sequence();
break;
}
......@@ -193,6 +195,7 @@ protected:
auto data = reinterpret_cast<char_type*>(&str[0]);
size_t n = streambuf_.sgetn(data, bytes);
CAF_ASSERT(n == bytes);
CAF_IGNORE_UNUSED(n);
end_sequence();
break;
}
......
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