1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 22:13:07 +01:00

A couple more nullopt returns (#15422)

This commit is contained in:
Hielke Morsink
2021-09-16 23:05:50 +02:00
committed by GitHub
parent 427bb7b330
commit fc8e0cf9d7
3 changed files with 3 additions and 3 deletions

View File

@@ -419,7 +419,7 @@ private:
return static_cast<int32_t>(i);
}
}
return {};
return std::nullopt;
}
size_t GetLoadedObjectIndex(const Object* object)