Skip to content

Commit

Permalink
Include map header in hud_elements.h
Browse files Browse the repository at this point in the history
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 soo
  • Loading branch information
hmaarrfk authored and flightlessmango committed Sep 9, 2024
1 parent 8b7dae6 commit feef6e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hud_elements.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <vector>
#include <string>
#include <utility>
#include <map>
#include <imgui.h>
#include "timing.hpp"
#include <functional>
Expand Down

0 comments on commit feef6e3

Please sign in to comment.