Skip to content

Commit

Permalink
test list instead of deque
Browse files Browse the repository at this point in the history
  • Loading branch information
victimsnino authored Jan 10, 2025
1 parent b212dbc commit 627b28d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rpp/rpp/subjects/details/subject_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <rpp/utils/utils.hpp>

#include <algorithm>
#include <deque>
#include <list>
#include <memory>
#include <mutex>
#include <variant>
Expand Down Expand Up @@ -67,7 +67,7 @@ namespace rpp::subjects::details
};

using observer = std::shared_ptr<rpp::details::observers::observer_vtable<Type>>;
using observers = std::deque<observer>;
using observers = std::list<observer>;
using shared_observers = std::shared_ptr<observers>;
using state_t = std::variant<shared_observers, std::exception_ptr, completed, disposed>;

Expand Down

0 comments on commit 627b28d

Please sign in to comment.