Fix undefined behavior with nullptr

This commit is contained in:
Leonardo Alt 2020-04-22 20:41:24 +02:00
parent 14fc9e740c
commit b191139f2a

View File

@ -237,8 +237,8 @@ z3::sort Z3Interface::z3Sort(Sort const& _sort)
z3::func_decl tupleConstructor = m_context.tuple_sort(
tupleSort.name.c_str(),
tupleSort.members.size(),
&cMembers[0],
&sorts[0],
cMembers.data(),
sorts.data(),
projs
);
return tupleConstructor.range();