Skip to content

Commit 290feb4

Browse files
author
Daniel Kroening
authored
Merge pull request diffblue#2095 from diffblue/get_json_stream_precondition
precondition for get_json_stream()
2 parents ac2df21 + 8c6165d commit 290feb4

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)