removed compat class for SignalVector

This commit is contained in:
fourtf
2020-02-23 19:49:45 +01:00
parent 7e49371ba1
commit 89389608e9
7 changed files with 7 additions and 18 deletions
@@ -7,7 +7,8 @@
namespace chatterino {
TwitchAccountManager::TwitchAccountManager()
: anonymousUser_(new TwitchAccount(ANONYMOUS_USERNAME, "", "", ""))
: accounts(SharedPtrElementLess<TwitchAccount>{})
, anonymousUser_(new TwitchAccount(ANONYMOUS_USERNAME, "", "", ""))
{
this->currentUserChanged.connect([this] {
auto currentUser = this->getCurrent();
@@ -51,9 +51,7 @@ public:
pajlada::Signals::NoArgSignal currentUserChanged;
pajlada::Signals::NoArgSignal userListUpdated;
SortedSignalVector<std::shared_ptr<TwitchAccount>,
SharedPtrElementLess<TwitchAccount>>
accounts;
SignalVector<std::shared_ptr<TwitchAccount>> accounts;
private:
enum class AddUserResponse {