interrogate: fix recording type of property in interrogatedb

This commit is contained in:
rdb 2018-12-23 15:45:30 +01:00
parent 256c8c5a23
commit 47188b47f6

View File

@ -2024,6 +2024,7 @@ get_make_property(CPPMakeProperty *make_property, CPPStructType *struct_type, CP
if (iproperty._type != 0 && iproperty._type != return_index) {
cerr << "Property " << property_name << " has inconsistent element type!\n";
}
iproperty._type = return_index;
} else {
iproperty._type = 0;
}