removed compat class for SignalVector
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
namespace chatterino {
|
||||
|
||||
AccountController::AccountController()
|
||||
: accounts_(SharedPtrElementLess<Account>{})
|
||||
{
|
||||
this->twitch.accounts.itemInserted.connect([this](const auto &args) {
|
||||
this->accounts_.insert(std::dynamic_pointer_cast<Account>(args.item));
|
||||
|
||||
@@ -27,8 +27,7 @@ public:
|
||||
TwitchAccountManager twitch;
|
||||
|
||||
private:
|
||||
SortedSignalVector<std::shared_ptr<Account>, SharedPtrElementLess<Account>>
|
||||
accounts_;
|
||||
SignalVector<std::shared_ptr<Account>> accounts_;
|
||||
};
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
Reference in New Issue
Block a user