Fix unpacked structs under classes (#4102).

This commit is contained in:
Wilson Snyder
2023-04-10 19:40:34 -04:00
parent 3aa013c8db
commit 0307d59c1f
5 changed files with 23 additions and 3 deletions
+1 -1
View File
@@ -514,7 +514,7 @@ class EmitCImp final : EmitCFunc {
// Compute the hash of the dependencies, so we can add it to the filenames to
// disambiguate them
V3Hash hash;
for (const string& name : *m_requiredHeadersp) { hash += name; }
for (const string& name : *m_requiredHeadersp) hash += name;
m_subFileName = "DepSet_" + hash.toString();
// Open output file
openNextOutputFile(*m_requiredHeadersp, m_subFileName);