Skip to content

Commit

Permalink
Use unordered_set for _componentsSet
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusTomlinson committed Aug 21, 2024
1 parent f49d770 commit 986426d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/dspatch/Circuit.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#include <algorithm>
#include <condition_variable>
#include <set>
#include <thread>
#include <unordered_set>

namespace DSPatch
{
Expand Down Expand Up @@ -438,7 +438,7 @@ class Circuit final

AutoTickThread _autoTickThread;

std::set<DSPatch::Component::SPtr> _componentsSet;
std::unordered_set<DSPatch::Component::SPtr> _componentsSet;

std::vector<DSPatch::Component*> _components;
std::vector<DSPatch::Component*> _componentsParallel;
Expand Down

0 comments on commit 986426d

Please sign in to comment.