mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Use wpi::span instead of wpi::ArrayRef across all libraries (#3414)
- Remove ArrayRef.h - Add SpanExtras.h for a couple of convenience functions
This commit is contained in:
@@ -132,7 +132,7 @@ HttpPath::HttpPath(std::string_view path) {
|
||||
}
|
||||
|
||||
bool HttpPath::startswith(size_t start,
|
||||
ArrayRef<std::string_view> match) const {
|
||||
span<const std::string_view> match) const {
|
||||
if (m_pathEnds.size() < (start + match.size())) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user