mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix undefined behavior with nullptr
This commit is contained in:
parent
14fc9e740c
commit
b191139f2a
@ -237,8 +237,8 @@ z3::sort Z3Interface::z3Sort(Sort const& _sort)
|
|||||||
z3::func_decl tupleConstructor = m_context.tuple_sort(
|
z3::func_decl tupleConstructor = m_context.tuple_sort(
|
||||||
tupleSort.name.c_str(),
|
tupleSort.name.c_str(),
|
||||||
tupleSort.members.size(),
|
tupleSort.members.size(),
|
||||||
&cMembers[0],
|
cMembers.data(),
|
||||||
&sorts[0],
|
sorts.data(),
|
||||||
projs
|
projs
|
||||||
);
|
);
|
||||||
return tupleConstructor.range();
|
return tupleConstructor.range();
|
||||||
|
Loading…
Reference in New Issue
Block a user