[wpiutil] Update json to 3.11.2 (#5680)

This commit is contained in:
PJ Reiniger
2023-10-15 05:53:56 +01:00
committed by GitHub
parent 896772c750
commit 210255bfff
90 changed files with 22540 additions and 28368 deletions

View File

@@ -35,7 +35,7 @@ Trajectory TrajectoryUtil::FromPathweaverJson(std::string_view path) {
throw std::runtime_error(fmt::format("Cannot open file: {}", path));
}
wpi::json json = wpi::json::parse({fileBuffer->begin(), fileBuffer->end()});
wpi::json json = wpi::json::parse(fileBuffer->begin(), fileBuffer->end());
return Trajectory{json.get<std::vector<Trajectory::State>>()};
}