Skip to content

Fix refCounts type mismatch in resource management doc - #466

Open
gpx1000 wants to merge 1 commit into
KhronosGroup:mainfrom
gpx1000:fix/373-resource-manager-refcounts-doc
Open

Fix refCounts type mismatch in resource management doc#466
gpx1000 wants to merge 1 commit into
KhronosGroup:mainfrom
gpx1000:fix/373-resource-manager-refcounts-doc

Conversation

@gpx1000

@gpx1000 gpx1000 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

refCounts is declared as a type_index → string → ResourceData map but Load/Release/UnloadAll indexed it directly with a string, which wouldn't compile. Fixes the indexing and templates Release on the resource type so it can navigate the map correctly.

Fixes #373.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attampt to index refCounts with std::string when std::type_index is expected

1 participant