diff --git a/src/Timeline.cpp b/src/Timeline.cpp index 58ccb5ad7..b2f46519c 100644 --- a/src/Timeline.cpp +++ b/src/Timeline.cpp @@ -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; }