Skip to content

Commit 8c6165d

Browse files
author
Daniel Kroening
committed
precondition for get_json_stream()
1 parent 5626fb7 commit 8c6165d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/util/ui_message.h

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ class ui_message_handlert : public message_handlert
5252

5353
json_stream_arrayt &get_json_stream() override
5454
{
55+
PRECONDITION(json_stream!=nullptr);
5556
return *json_stream;
5657
}
5758

0 commit comments

Comments
 (0)