diff options
author | Max Dunbar <mdsurfing4@gmail.com> | 2023-03-30 04:26:12 +0200 |
---|---|---|
committer | Max Dunbar <mdsurfing4@gmail.com> | 2023-03-30 04:26:12 +0200 |
commit | e446f368d74b772ac5e0afab1f693544a212861d (patch) | |
tree | 35641c900fa8bec31e87963fd7f90708f14c625a /src/common | |
parent | Merge pull request #9505 from liamwhite/request-exit (diff) | |
download | yuzu-e446f368d74b772ac5e0afab1f693544a212861d.tar yuzu-e446f368d74b772ac5e0afab1f693544a212861d.tar.gz yuzu-e446f368d74b772ac5e0afab1f693544a212861d.tar.bz2 yuzu-e446f368d74b772ac5e0afab1f693544a212861d.tar.lz yuzu-e446f368d74b772ac5e0afab1f693544a212861d.tar.xz yuzu-e446f368d74b772ac5e0afab1f693544a212861d.tar.zst yuzu-e446f368d74b772ac5e0afab1f693544a212861d.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/range_map.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/range_map.h b/src/common/range_map.h index 79c7ef547..ab73993e3 100644 --- a/src/common/range_map.h +++ b/src/common/range_map.h @@ -38,12 +38,12 @@ public: Map(address, address_end, null_value); } - [[nodiscard]] size_t GetContinousSizeFrom(KeyTBase address) const { + [[nodiscard]] size_t GetContinuousSizeFrom(KeyTBase address) const { const KeyT new_address = static_cast<KeyT>(address); if (new_address < 0) { return 0; } - return ContinousSizeInternal(new_address); + return ContinuousSizeInternal(new_address); } [[nodiscard]] ValueT GetValueAt(KeyT address) const { @@ -59,7 +59,7 @@ private: using IteratorType = typename MapType::iterator; using ConstIteratorType = typename MapType::const_iterator; - size_t ContinousSizeInternal(KeyT address) const { + size_t ContinuousSizeInternal(KeyT address) const { const auto it = GetFirstElementBeforeOrOn(address); if (it == container.end() || it->second == null_value) { return 0; |