Use util::hstring in util::ecs
This commit is contained in:
parent
9146c19ccd
commit
ab99236adc
1 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <psemek/util/function.hpp>
|
||||
#include <psemek/util/range.hpp>
|
||||
#include <psemek/util/hash.hpp>
|
||||
#include <psemek/util/hstring.hpp>
|
||||
|
||||
#include <cstdint>
|
||||
#include <typeindex>
|
||||
|
|
@ -708,7 +709,7 @@ namespace psemek::util
|
|||
|
||||
private:
|
||||
std::vector<std::unique_ptr<ecs_detail::species_base>> species_;
|
||||
std::unordered_map<std::string, ecs_detail::species_handle, util::any_hash, std::equal_to<>> species_by_name_;
|
||||
std::unordered_map<util::hstring, ecs_detail::species_handle> species_by_name_;
|
||||
|
||||
std::unordered_map<std::type_index, std::vector<util::function<void(void const *)>>> event_subscribers_;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue