Cleanup: replace BLI_assert(!"text") with BLI_assert_msg(0, "text")
This shows the text as part of the assertion message.
This commit is contained in:
@@ -211,7 +211,7 @@ const char *operationCodeAsString(OperationCode opcode)
|
||||
case OperationCode::SIMULATION_EVAL:
|
||||
return "SIMULATION_EVAL";
|
||||
}
|
||||
BLI_assert(!"Unhandled operation code, should never happen.");
|
||||
BLI_assert_msg(0, "Unhandled operation code, should never happen.");
|
||||
return "UNKNOWN";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user