mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 17:04:55 +00:00
Additional CPlayer work
This commit is contained in:
@@ -101,7 +101,14 @@ public:
|
||||
void AddValue(const T& t)
|
||||
{
|
||||
if (this->size() < N)
|
||||
{
|
||||
this->push_back(t);
|
||||
}
|
||||
else
|
||||
{
|
||||
this->pop_back();
|
||||
this->insert(this->begin(), t);
|
||||
}
|
||||
}
|
||||
|
||||
rstl::optional_object<T> GetAverage() const
|
||||
|
||||
Reference in New Issue
Block a user