summaryrefslogtreecommitdiffstats
path: root/src/PortID.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 17:57:39 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 21:42:51 +0100
commit6342c9cfa934b356b6903be030ce2667c4e5b829 (patch)
tree2cfdc1430bf5dea216e362913b2ef435a67102cc /src/PortID.hpp
parent34a5ca666a2dceb9eacc1087acb7bebf2f7e2758 (diff)
downloadpatchage-6342c9cfa934b356b6903be030ce2667c4e5b829.tar.gz
patchage-6342c9cfa934b356b6903be030ce2667c4e5b829.tar.bz2
patchage-6342c9cfa934b356b6903be030ce2667c4e5b829.zip
Always use braces around statements
Diffstat (limited to 'src/PortID.hpp')
-rw-r--r--src/PortID.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PortID.hpp b/src/PortID.hpp
index 01a8ec4..ee1cde5 100644
--- a/src/PortID.hpp
+++ b/src/PortID.hpp
@@ -109,8 +109,9 @@ operator<<(std::ostream& os, const PortID& id)
static inline bool
operator<(const PortID& a, const PortID& b)
{
- if (a.type != b.type)
+ if (a.type != b.type) {
return a.type < b.type;
+ }
switch (a.type) {
case PortID::NULL_PORT_ID: