diff options
Diffstat (limited to 'Icons.h')
-rw-r--r-- | Icons.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@ #pragma once +#include <string> #include <unordered_map> #include <raylib.h> @@ -13,5 +14,5 @@ public: void reset(); Texture2D find(long int type); private: - std::unordered_map<long int, Texture2D> m_cache; + std::unordered_map<std::string, Texture2D> m_cache; }; |