diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-08 16:59:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-08 16:59:59 +0100 |
commit | 263dfa95e44e674bffffa36536b945a3f0ec500b (patch) | |
tree | 8683bd0d33656d41d1c10a308f6d5664838db39e /src/common/slot_vector.h | |
parent | Merge pull request #12953 from FernandoS27/zero-fps-mah-ass (diff) | |
parent | Common: Rename SplitRangeSet to OverlapRangeSet (diff) | |
download | yuzu-263dfa95e44e674bffffa36536b945a3f0ec500b.tar yuzu-263dfa95e44e674bffffa36536b945a3f0ec500b.tar.gz yuzu-263dfa95e44e674bffffa36536b945a3f0ec500b.tar.bz2 yuzu-263dfa95e44e674bffffa36536b945a3f0ec500b.tar.lz yuzu-263dfa95e44e674bffffa36536b945a3f0ec500b.tar.xz yuzu-263dfa95e44e674bffffa36536b945a3f0ec500b.tar.zst yuzu-263dfa95e44e674bffffa36536b945a3f0ec500b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/slot_vector.h (renamed from src/video_core/texture_cache/slot_vector.h) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/texture_cache/slot_vector.h b/src/common/slot_vector.h index 3ffa2a661..34ff7de94 100644 --- a/src/video_core/texture_cache/slot_vector.h +++ b/src/common/slot_vector.h @@ -14,7 +14,7 @@ #include "common/common_types.h" #include "common/polyfill_ranges.h" -namespace VideoCommon { +namespace Common { struct SlotId { static constexpr u32 INVALID_INDEX = std::numeric_limits<u32>::max(); @@ -217,11 +217,11 @@ private: std::vector<u32> free_list; }; -} // namespace VideoCommon +} // namespace Common template <> -struct std::hash<VideoCommon::SlotId> { - size_t operator()(const VideoCommon::SlotId& id) const noexcept { +struct std::hash<Common::SlotId> { + size_t operator()(const Common::SlotId& id) const noexcept { return std::hash<u32>{}(id.index); } }; |