diff options
author | ancarola <raffaele.ancarola@epfl.ch> | 2019-01-22 23:52:58 +0100 |
---|---|---|
committer | ancarola <raffaele.ancarola@epfl.ch> | 2019-01-22 23:52:58 +0100 |
commit | 3b7955eaf816df1140837f30d0fcea52ac9dfa92 (patch) | |
tree | f2ec5cf4bf363a08ec6a3fa611fb39f63ed22440 | |
parent | Here we go (diff) | |
download | flatland-3b7955eaf816df1140837f30d0fcea52ac9dfa92.tar.gz flatland-3b7955eaf816df1140837f30d0fcea52ac9dfa92.zip |
ceh
-rw-r--r-- | engine/include/core/priority.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/include/core/priority.hpp b/engine/include/core/priority.hpp index 7a23803..5f03bc9 100644 --- a/engine/include/core/priority.hpp +++ b/engine/include/core/priority.hpp @@ -42,7 +42,7 @@ namespace flat /* Compiler will complain if don't pass a non prioritized object */ template <class T> - using prior_set = std::set<T, prior_criteria>; + using prior_set = std::multiset<T, prior_criteria>; /* Equivalent but with pointers */ @@ -58,6 +58,6 @@ namespace flat /* Compiler will complain if don't pass a non prioritized object */ template <class T> - using prior_ptr_set = std::set<T*, prior_criteria>; + using prior_ptr_set = std::multiset<T*, prior_criteria>; } }; |