2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 01:07:43 +00:00

Windows fixes

This commit is contained in:
Jack Andersen
2019-01-28 22:28:35 -10:00
parent 4dd40f519e
commit ad2681f857
178 changed files with 303 additions and 298 deletions

View File

@@ -134,14 +134,14 @@ public:
}
}
std::experimental::optional<T> GetAverage() const {
rstl::optional<T> GetAverage() const {
if (this->empty())
return {};
return {urde::GetAverage<T>(this->data(), this->size())};
}
std::experimental::optional<T> GetEntry(int i) const {
rstl::optional<T> GetEntry(int i) const {
if (i >= this->size())
return {};
return this->operator[](i);