Skip to content
Commit 7ee83dc5 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Use std::find_if in EffectsHandlerImpl::isEffectLoaded

Summary:
Don't use raw loops. Use appropriate algorithm from STL to find out
whether effect with the given name is loaded.

(also, this change deletes duplicated logic)

Reviewers: #kwin, broulik, romangg

Reviewed By: #kwin, broulik, romangg

Subscribers: broulik, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D13836
parent c3fd38e1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment