mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Replace Q_ASSERT with BLACK_VERIFY
This commit is contained in:
committed by
Mat Sutcliffe
parent
cb582bc5f7
commit
ac90b3c069
@@ -799,7 +799,7 @@ namespace BlackSimPlugin
|
|||||||
for (const CXPlaneMPAircraft &xplaneAircraft : m_xplaneAircraftObjects)
|
for (const CXPlaneMPAircraft &xplaneAircraft : m_xplaneAircraftObjects)
|
||||||
{
|
{
|
||||||
const CCallsign callsign(xplaneAircraft.getCallsign());
|
const CCallsign callsign(xplaneAircraft.getCallsign());
|
||||||
Q_ASSERT_X(!callsign.isEmpty(), Q_FUNC_INFO, "missing callsign");
|
BLACK_VERIFY_X(!callsign.isEmpty(), Q_FUNC_INFO, "missing callsign");
|
||||||
|
|
||||||
planesTransponders.callsigns.push_back(callsign.asString());
|
planesTransponders.callsigns.push_back(callsign.asString());
|
||||||
planesTransponders.codes.push_back(xplaneAircraft.getAircraft().getTransponderCode());
|
planesTransponders.codes.push_back(xplaneAircraft.getAircraft().getTransponderCode());
|
||||||
|
|||||||
Reference in New Issue
Block a user