summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2023-05-07 16:11:16 +0200
committerKelebek1 <eeeedddccc@hotmail.co.uk>2023-05-07 16:11:16 +0200
commit6fed48b3a45369bebf262fc047fe68e2110d63cf (patch)
tree5d247c3715e5b8fca4aa2ce19f6ed82b30f6217b
parentMerge pull request #10180 from german77/debug (diff)
downloadyuzu-6fed48b3a45369bebf262fc047fe68e2110d63cf.tar
yuzu-6fed48b3a45369bebf262fc047fe68e2110d63cf.tar.gz
yuzu-6fed48b3a45369bebf262fc047fe68e2110d63cf.tar.bz2
yuzu-6fed48b3a45369bebf262fc047fe68e2110d63cf.tar.lz
yuzu-6fed48b3a45369bebf262fc047fe68e2110d63cf.tar.xz
yuzu-6fed48b3a45369bebf262fc047fe68e2110d63cf.tar.zst
yuzu-6fed48b3a45369bebf262fc047fe68e2110d63cf.zip
-rw-r--r--src/common/address_space.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/address_space.inc b/src/common/address_space.inc
index c97dc8651..1ee82df53 100644
--- a/src/common/address_space.inc
+++ b/src/common/address_space.inc
@@ -336,7 +336,7 @@ ALLOC_MEMBER(VaType)::Allocate(VaType size) {
ASSERT_MSG(false, "Unexpected allocator state!");
}
- auto search_predecessor{this->blocks.begin()};
+ auto search_predecessor{std::next(this->blocks.begin())};
auto search_successor{std::next(search_predecessor)};
while (search_successor != this->blocks.end() &&