Skip to content

Commit 986426d

Browse files
Use unordered_set for _componentsSet
1 parent f49d770 commit 986426d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/dspatch/Circuit.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3838

3939
#include <algorithm>
4040
#include <condition_variable>
41-
#include <set>
4241
#include <thread>
42+
#include <unordered_set>
4343

4444
namespace DSPatch
4545
{
@@ -438,7 +438,7 @@ class Circuit final
438438

439439
AutoTickThread _autoTickThread;
440440

441-
std::set<DSPatch::Component::SPtr> _componentsSet;
441+
std::unordered_set<DSPatch::Component::SPtr> _componentsSet;
442442

443443
std::vector<DSPatch::Component*> _components;
444444
std::vector<DSPatch::Component*> _componentsParallel;

0 commit comments

Comments
 (0)