From f36c73019db582fd3fec32099b75060f27cfd98f Mon Sep 17 00:00:00 2001 From: pastalian <28638872+pastalian@users.noreply.github.com> Date: Sat, 24 Aug 2024 17:15:03 +0900 Subject: [PATCH] fix: typo in `SignalVector::operator[]` member access (#5556) --- CHANGELOG.md | 1 + src/common/SignalVector.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 613440900..57e2199f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -52,6 +52,7 @@ - Dev: Unsingletonize `Resources2`. (#5460) - Dev: All Lua globals now show in the `c2` global in the LuaLS metadata. (#5385) - Dev: Images are now loaded in worker threads. (#5431) +- Dev: Fixed broken `SignalVector::operator[]` implementation. (#5556) - Dev: Qt Creator now auto-configures Conan when loading the project and skips vcpkg. (#5305) - Dev: The MSVC CRT is now bundled with Chatterino as it depends on having a recent version installed. (#5447) - Dev: Refactor/unsingletonize `UserDataController`. (#5459) diff --git a/src/common/SignalVector.hpp b/src/common/SignalVector.hpp index e0f2a4e6f..154bc0e72 100644 --- a/src/common/SignalVector.hpp +++ b/src/common/SignalVector.hpp @@ -155,7 +155,7 @@ public: decltype(auto) operator[](size_t index) { assertInGuiThread(); - return this->items[index]; + return this->items_[index]; } auto empty()