diff --git a/yoga/debug/AssertFatal.cpp b/yoga/debug/AssertFatal.cpp index 5016053b..e36af650 100644 --- a/yoga/debug/AssertFatal.cpp +++ b/yoga/debug/AssertFatal.cpp @@ -19,6 +19,7 @@ namespace facebook::yoga { #if defined(__cpp_exceptions) throw std::logic_error(message); #else + static_cast(message); // Unused std::terminate(); #endif }