fix yoga warnings

This commit is contained in:
BlackMATov
2020-04-20 15:57:15 +07:00
parent 5fbbc14daa
commit bed1e11a4f

View File

@@ -90,6 +90,9 @@ struct YOGA_EXPORT Event {
static void publish(const YGNode& node, const TypedData<E>& eventData = {}) {
#ifdef YG_ENABLE_EVENTS
publish(node, E, Data{eventData});
#else
(void)node;
(void)eventData;
#endif
}