Skip to content

Commit

Permalink
Const temporary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Sep 10, 2020
1 parent 6d1e22f commit 20c75ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Timeline.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 20c75ff

Please sign in to comment.