[wpilibc] Change EventLoop data structure to vector (#4304)

This commit is contained in:
Starlight220
2022-06-10 15:38:54 +03:00
committed by GitHub
parent 41d40dd62f
commit c9e620a920

View File

@@ -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