Code clean-up

This commit is contained in:
2016-10-03 14:49:17 +02:00
parent 3a6701452a
commit 76729d51cc
17 changed files with 75 additions and 76 deletions

View File

@@ -161,7 +161,7 @@ public:
inline void EnableSource(const GUID &guid, bool enable = true)
{
guidset::iterator s = m_sources.find(guid);
auto s = m_sources.find(guid);
if (enable) {
if (s == m_sources.end()) {
m_sources.insert(guid);