Skip to content

Commit d5c28ec

Browse files
author
Daniel Kroening
committed
use struct_typet::bases
1 parent 17bca0a commit d5c28ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cpp/cpp_is_pod.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ bool cpp_typecheckt::cpp_is_pod(const typet &type) const
2525

2626
const struct_typet &struct_type=to_struct_type(type);
2727

28-
if(!type.find(ID_bases).get_sub().empty())
28+
if(!struct_type.bases().empty())
2929
return false;
3030

3131
const struct_typet::componentst &components=

0 commit comments

Comments
 (0)