From 411c400d90f4d41e76c3013cd560162e2e55bb88 Mon Sep 17 00:00:00 2001 From: Joseph Eng Date: Thu, 18 Jul 2024 12:00:13 -0700 Subject: [PATCH] Add missing includes to LEDPattern.cpp --- wpilibc/src/main/native/cpp/LEDPattern.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wpilibc/src/main/native/cpp/LEDPattern.cpp b/wpilibc/src/main/native/cpp/LEDPattern.cpp index 2b745e9645d..ca5a978d795 100644 --- a/wpilibc/src/main/native/cpp/LEDPattern.cpp +++ b/wpilibc/src/main/native/cpp/LEDPattern.cpp @@ -7,6 +7,8 @@ #include #include #include +#include +#include #include #include @@ -232,8 +234,8 @@ LEDPattern LEDPattern::Steps(std::span> steps) { return LEDPattern::Solid(steps[0].second); } - return LEDPattern{[steps = std::vector(steps.begin(), steps.end())]( - auto data, auto writer) { + return LEDPattern{[steps = std::vector>( + steps.begin(), steps.end())](auto data, auto writer) { auto bufLen = data.size(); // precompute relevant positions for this buffer so we don't need to do a