You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Const temporary variable
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user