mirror of
https://github.com/geode-sdk/geode.git
synced 2024-12-14 01:51:14 -05:00
60a528a76a
* add android umap and set; bunch of gnustl headers * slight change
11 lines
293 B
C++
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());
|
|
}
|
|
};
|
|
}
|