summaryrefslogtreecommitdiffstats
path: root/src/common/range_sets.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/common/range_sets.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/common/range_sets.h b/src/common/range_sets.h
index f4ee00fec..f8fcee483 100644
--- a/src/common/range_sets.h
+++ b/src/common/range_sets.h
@@ -38,16 +38,16 @@ private:
};
template <typename AddressType>
-class SplitRangeSet {
+class OverlapRangeSet {
public:
- SplitRangeSet();
- ~SplitRangeSet();
+ OverlapRangeSet();
+ ~OverlapRangeSet();
- SplitRangeSet(SplitRangeSet const&) = delete;
- SplitRangeSet& operator=(SplitRangeSet const&) = delete;
+ OverlapRangeSet(OverlapRangeSet const&) = delete;
+ OverlapRangeSet& operator=(OverlapRangeSet const&) = delete;
- SplitRangeSet(SplitRangeSet&& other);
- SplitRangeSet& operator=(SplitRangeSet&& other);
+ OverlapRangeSet(OverlapRangeSet&& other);
+ OverlapRangeSet& operator=(OverlapRangeSet&& other);
void Add(AddressType base_address, size_t size);
void Subtract(AddressType base_address, size_t size);
@@ -66,8 +66,8 @@ public:
void ForEachInRange(AddressType device_addr, size_t size, Func&& func) const;
private:
- struct SplitRangeSetImpl;
- std::unique_ptr<SplitRangeSetImpl> m_impl;
+ struct OverlapRangeSetImpl;
+ std::unique_ptr<OverlapRangeSetImpl> m_impl;
};
-} // namespace Common \ No newline at end of file
+} // namespace Common