Skip to content

fix missing header unordered_map#197

Merged
youmanyousef merged 1 commit into
mainfrom
level_scene_fix
May 12, 2026
Merged

fix missing header unordered_map#197
youmanyousef merged 1 commit into
mainfrom
level_scene_fix

Conversation

@youmanyousef

@youmanyousef youmanyousef commented May 12, 2026

Copy link
Copy Markdown
Collaborator

In the level_scene cpp module, there is a missing header file <unordered_map>, and an undeclared reference to it.

editor/level_scene.cppm:1087:10: error: missing '#include <unordered_map>'; 'unordered_map' must be declared before it is used
 1087 |     std::unordered_map<uint64_t, material> m_material_icons;
      |          ^

Adding the header file for it resolves the issue.

@youmanyousef youmanyousef added the bug Something isn't working label May 12, 2026

@SpinnerX SpinnerX left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Merging this change.

@SpinnerX SpinnerX changed the title fix missing header unordered_map fix missing header unordered_map [skip CI] May 12, 2026
@SpinnerX SpinnerX changed the title fix missing header unordered_map [skip CI] fix missing header unordered_map May 12, 2026
@youmanyousef youmanyousef merged commit f1289ab into main May 12, 2026
5 of 6 checks passed
@youmanyousef youmanyousef deleted the level_scene_fix branch May 12, 2026 07:31
@SpinnerX SpinnerX assigned youmanyousef and unassigned SpinnerX May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants