From 20c75ff227bb667f1cebae0e99509162e324c25d Mon Sep 17 00:00:00 2001 From: Frank Dana Date: Thu, 10 Sep 2020 18:39:24 -0400 Subject: [PATCH] Const temporary variable --- src/Timeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }