fatalWithMessage() - added warning suppression: unused 'message' argument

This commit is contained in:
Yurii Nakonechnyi
2025-03-19 17:57:06 +02:00
committed by GitHub
parent 6455a848a7
commit fcd0e8887f

View File

@@ -19,6 +19,7 @@ namespace facebook::yoga {
#if defined(__cpp_exceptions)
throw std::logic_error(message);
#else
static_cast<void>(message); // Unused
std::terminate();
#endif
}