diff common/signals.h @ 23:03068f5ed79d

Misc: various style issues, #419
author David Demelier <markand@malikania.fr>
date Sun, 14 Feb 2016 16:15:48 +0100
parents 1158cffe5a5e
children
line wrap: on
line diff
--- a/common/signals.h	Fri Feb 12 21:02:28 2016 +0100
+++ b/common/signals.h	Sun Feb 14 16:15:48 2016 +0100
@@ -50,7 +50,7 @@
 	 * @param id the id
 	 */
 	inline SignalConnection(unsigned id) noexcept
-		: m_id{id}
+		: m_id(id)
 	{
 	}
 
@@ -164,9 +164,8 @@
 		for (unsigned i : ids) {
 			auto it = m_functions.find(i);
 
-			if (it != m_functions.end()) {
+			if (it != m_functions.end())
 				it->second(args...);
-			}
 		}
 	}
 };