geode/loader/include/Geode/c++stl/gnustl/hash_specialization.hpp
dankmeme01 60a528a76a
add android umap and set; bunch of gnustl headers (#1084)
* add android umap and set; bunch of gnustl headers

* slight change
2024-09-16 14:52:54 +02:00

11 lines
293 B
C++

#pragma once
#include "functional_hash.h"
namespace geode::stl {
template <>
struct hash<gd::string> : public __hash_base<size_t, gd::string> {
size_t operator()(const gd::string& s) const noexcept {
return _Hash_impl::hash(s.data(), s.size());
}
};
}