summaryrefslogtreecommitdiffstats
path: root/src/common/range_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/range_map.h')
-rw-r--r--src/common/range_map.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/range_map.h b/src/common/range_map.h
index 051e713a7..79c7ef547 100644
--- a/src/common/range_map.h
+++ b/src/common/range_map.h
@@ -60,7 +60,7 @@ private:
using ConstIteratorType = typename MapType::const_iterator;
size_t ContinousSizeInternal(KeyT address) const {
- const auto it = GetFirstElemnentBeforeOrOn(address);
+ const auto it = GetFirstElementBeforeOrOn(address);
if (it == container.end() || it->second == null_value) {
return 0;
}
@@ -72,14 +72,14 @@ private:
}
ValueT GetValueInternal(KeyT address) const {
- const auto it = GetFirstElemnentBeforeOrOn(address);
+ const auto it = GetFirstElementBeforeOrOn(address);
if (it == container.end()) {
return null_value;
}
return it->second;
}
- ConstIteratorType GetFirstElemnentBeforeOrOn(KeyT address) const {
+ ConstIteratorType GetFirstElementBeforeOrOn(KeyT address) const {
auto it = container.lower_bound(address);
if (it == container.begin()) {
return it;