Fix TypeHierarchy's type

This commit is contained in:
Thierry Treyer 2023-06-15 06:41:39 -07:00 committed by Thierry Treyer
parent 226e0cfa84
commit f28bdfca48

View File

@ -322,8 +322,7 @@ int main(int argc, char* argv[]) {
cacheArchive >> globalDescs;
printGlobalDescs(globalDescs);
} else if (cachePath.extension() == ".th") {
std::pair<std::pair<std::string, struct drgn_type*>, TypeHierarchy>
typeHierarchy;
std::pair<RootInfo, TypeHierarchy> typeHierarchy;
cacheArchive >> typeHierarchy;
printTypeHierarchy(typeHierarchy.second);
} else if (cachePath.extension() == ".pd") {