Commit 7063e61e authored by Dominik Charousset's avatar Dominik Charousset

Fix potential dereference of nullptr

parent b271f482
......@@ -35,7 +35,7 @@ public:
}
explicit const_typed_message_view(const message& msg) noexcept
: ptr_(&msg.cdata()) {
: ptr_(msg.cptr()) {
// nop
}
......
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