diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-03-30 16:14:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-30 16:14:11 +0200 |
commit | fbf0a9c9762bf2a7ea4a4da3ea8419e32e15beba (patch) | |
tree | 35641c900fa8bec31e87963fd7f90708f14c625a /src/common/range_map.h | |
parent | Merge pull request #9505 from liamwhite/request-exit (diff) | |
parent | Fixes 'Continous' typo (diff) | |
download | yuzu-fbf0a9c9762bf2a7ea4a4da3ea8419e32e15beba.tar yuzu-fbf0a9c9762bf2a7ea4a4da3ea8419e32e15beba.tar.gz yuzu-fbf0a9c9762bf2a7ea4a4da3ea8419e32e15beba.tar.bz2 yuzu-fbf0a9c9762bf2a7ea4a4da3ea8419e32e15beba.tar.lz yuzu-fbf0a9c9762bf2a7ea4a4da3ea8419e32e15beba.tar.xz yuzu-fbf0a9c9762bf2a7ea4a4da3ea8419e32e15beba.tar.zst yuzu-fbf0a9c9762bf2a7ea4a4da3ea8419e32e15beba.zip |
Diffstat (limited to '')
-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; |