mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Code cleanup
This commit is contained in:
@@ -150,14 +150,19 @@ Interpolator::Interpolator()
|
||||
}
|
||||
|
||||
Interpolator::~Interpolator()
|
||||
{
|
||||
clear();
|
||||
}
|
||||
|
||||
void Interpolator::clear()
|
||||
{
|
||||
for (auto i = interpolators_.begin(); i != interpolators_.end(); ) {
|
||||
delete *i;
|
||||
i = interpolators_.erase(i);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
void Interpolator::add (Source *s, const SourceCore &target)
|
||||
{
|
||||
SourceInterpolator *i = new SourceInterpolator(s, target);
|
||||
|
||||
Reference in New Issue
Block a user