Const temporary variable

This commit is contained in:
Frank Dana
2020-09-10 18:39:24 -04:00
committed by GitHub
parent 6d1e22f545
commit 20c75ff227

View File

@@ -291,7 +291,7 @@ openshot::EffectBase* Timeline::GetClipEffect(const std::string& id)
{
// Search all clips for matching effect ID
for (const auto& clip : clips) {
auto e = clip->GetEffect(id);
const auto e = clip->GetEffect(id);
if (e != nullptr) {
return e;
}