flightlessmango / MangoHud

A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more. Discord: https://discordapp.com/invite/Gj5YmBb
MIT License
6.39k stars 282 forks source link

Include map header in hud_elements.h #1424

Closed hmaarrfk closed 3 weeks ago

hmaarrfk commented 3 weeks ago

Otherwise, I get the following compilation errors on OSX

2024-09-09T22:58:12.8720860Z In file included from ../src/vulkan.cpp:49:
2024-09-09T22:58:12.8751290Z In file included from ../src/overlay.h:12:
2024-09-09T22:58:12.8785670Z ../src/hud_elements.h:147:14: error: no template named 'map' in namespace 'std'; did you mean 'max'?
2024-09-09T22:58:12.8805510Z   147 |         std::map<VkPresentModeKHR, std::string> presentModeMap = {
2024-09-09T22:58:12.8821870Z       |         ~~~~~^~~
2024-09-09T22:58:12.8838900Z       |              max

full log to be attached: 23_osx_fail.txt

hmaarrfk commented 3 weeks ago

so fast. thanks!