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

CSlideShow: Collapse loop into std::all_of

Same behavior, less code. We can also make this function fully
internally linked, given it doesn't depend on instance state.
This commit is contained in:
Lioncash
2020-05-12 19:53:16 -04:00
parent fd2f2e146c
commit bfbb027117
2 changed files with 7 additions and 10 deletions

View File

@@ -98,7 +98,6 @@ private:
bool x135_24_ : 1 = true;
bool LoadTXTRDep(std::string_view name);
static bool AreAllDepsLoaded(const std::vector<TLockedToken<CDependencyGroup>>& deps);
public:
CSlideShow();