Commit 0cc2f95f authored by Dominik Charousset's avatar Dominik Charousset

Use deque for not_prioritizing policy

parent 23e63e96
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#ifndef NOT_PRIORITIZING_HPP #ifndef NOT_PRIORITIZING_HPP
#define NOT_PRIORITIZING_HPP #define NOT_PRIORITIZING_HPP
#include <list> #include <deque>
#include <iterator> #include <iterator>
#include "caf/mailbox_element.hpp" #include "caf/mailbox_element.hpp"
...@@ -33,7 +33,7 @@ class not_prioritizing { ...@@ -33,7 +33,7 @@ class not_prioritizing {
public: public:
using cache_type = std::list<unique_mailbox_element_pointer>; using cache_type = std::deque<unique_mailbox_element_pointer>;
using cache_iterator = cache_type::iterator; using cache_iterator = cache_type::iterator;
...@@ -82,3 +82,4 @@ class not_prioritizing { ...@@ -82,3 +82,4 @@ class not_prioritizing {
} // namespace caf } // namespace caf
#endif // NOT_PRIORITIZING_HPP #endif // NOT_PRIORITIZING_HPP
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment