summaryrefslogtreecommitdiffstats
path: root/src/PortID.hpp
diff options
context:
space:
mode:
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: