streamlined viewable-based lengths

This commit is contained in:
itsmattkc
2021-04-08 09:46:31 +10:00
parent c023916d05
commit eef19ca0ff
11 changed files with 89 additions and 79 deletions
+5
View File
@@ -191,6 +191,11 @@ public:
return ref;
}
bool IsValid() const
{
return type_ > kNone && type_ < kCount && index_ >= 0;
}
private:
Track::Type type_;