mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
Command: Use SmallPtrSet for requirements instead of std::set
This commit is contained in:
@@ -95,7 +95,8 @@ class Scheduler : public ErrorBase, public SendableBase {
|
||||
|
||||
void ProcessCommandAddition(Command* command);
|
||||
|
||||
Command::SubsystemSet m_subsystems;
|
||||
typedef std::set<Subsystem*> SubsystemSet;
|
||||
SubsystemSet m_subsystems;
|
||||
wpi::mutex m_buttonsMutex;
|
||||
typedef std::vector<std::unique_ptr<ButtonScheduler>> ButtonVector;
|
||||
ButtonVector m_buttons;
|
||||
|
||||
Reference in New Issue
Block a user