commit
d8e3380ea5
|
@ -44,7 +44,7 @@ public:
|
||||||
|
|
||||||
[[nodiscard]] unsigned Count() const noexcept {
|
[[nodiscard]] unsigned Count() const noexcept {
|
||||||
unsigned count = 0;
|
unsigned count = 0;
|
||||||
for (const auto [index, value] : page_table) {
|
for (const auto& [index, value] : page_table) {
|
||||||
count += value;
|
count += value;
|
||||||
}
|
}
|
||||||
return count;
|
return count;
|
||||||
|
|
Reference in New Issue