mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
[wpilibc] Change EventLoop data structure to vector (#4304)
This commit is contained in:
@@ -5,10 +5,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
#include <list>
|
||||
#include <vector>
|
||||
|
||||
#include <wpi/FunctionExtras.h>
|
||||
#include <wpi/SmallVector.h>
|
||||
|
||||
namespace frc {
|
||||
/** The loop polling BooleanEvent objects and executing the actions bound to
|
||||
@@ -43,6 +42,6 @@ class EventLoop {
|
||||
|
||||
void Poll();
|
||||
};
|
||||
std::list<Binding> m_bindings;
|
||||
std::vector<Binding> m_bindings;
|
||||
};
|
||||
} // namespace frc
|
||||
|
||||
Reference in New Issue
Block a user