Refactor xmake.lua and make some warnings as errors
This commit is contained in:
@@ -96,6 +96,9 @@ unsigned int BufferField::nPorts(QtNodes::PortType portType) const
|
||||
{
|
||||
switch (portType)
|
||||
{
|
||||
case QtNodes::PortType::None:
|
||||
break;
|
||||
|
||||
case QtNodes::PortType::In: return 0;
|
||||
case QtNodes::PortType::Out: return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user