We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fccfc9 commit b8aaef9Copy full SHA for b8aaef9
Svc/ComQueue/ComQueue.cpp
@@ -41,6 +41,8 @@ ComQueue ::ComQueue(const char* const compName)
41
for (FwIndexType i = 0; i < TOTAL_PORT_COUNT; i++) {
42
this->m_throttle[i] = false;
43
}
44
+
45
+ static_assert(TOTAL_PORT_COUNT >= 1, "ComQueue must have more than one port");
46
47
48
ComQueue ::~ComQueue() {}
0 commit comments