From ca3e71e214888176fe71cce65955784ac417483f Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Fri, 26 Jul 2019 11:22:23 -0700 Subject: [PATCH] wpiutil: Fix Process::Spawn() (#1778) Was broken due to removal of ArrayRef initializer_list constructor. --- wpiutil/src/main/native/include/wpi/uv/Process.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/wpiutil/src/main/native/include/wpi/uv/Process.h b/wpiutil/src/main/native/include/wpi/uv/Process.h index e3a2ec37c8..47d09df205 100644 --- a/wpiutil/src/main/native/include/wpi/uv/Process.h +++ b/wpiutil/src/main/native/include/wpi/uv/Process.h @@ -1,5 +1,5 @@ /*----------------------------------------------------------------------------*/ -/* Copyright (c) 2018 FIRST. All Rights Reserved. */ +/* Copyright (c) 2018-2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of */ /* the project. */ @@ -10,6 +10,7 @@ #include +#include #include #include @@ -243,6 +244,11 @@ class Process final : public HandleImpl { static std::shared_ptr SpawnArray(Loop& loop, const Twine& file, ArrayRef