mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-16 14:08:59 +07:00
fix yoga warnings
This commit is contained in:
3
sources/3rdparty/yoga/event/event.h
vendored
3
sources/3rdparty/yoga/event/event.h
vendored
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user