core: Fix clang build
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
This commit is contained in:
parent
ca416a0fb8
commit
be1954e04c
105 changed files with 906 additions and 667 deletions
|
@ -189,7 +189,8 @@ template <typename T>
|
|||
return {};
|
||||
}
|
||||
last = std::min<std::size_t>(last, vector.size());
|
||||
return std::vector<T>(vector.begin() + first, vector.begin() + first + last);
|
||||
return std::vector<T>(vector.begin() + static_cast<std::ptrdiff_t>(first),
|
||||
vector.begin() + static_cast<std::ptrdiff_t>(first + last));
|
||||
}
|
||||
|
||||
enum class DirectorySeparator {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue