Fix build and test

Summary: Closes https://github.com/facebook/yoga/pull/543

Reviewed By: emilsjolander

Differential Revision: D4997389

Pulled By: splhack

fbshipit-source-id: b4b3aa4cba29063df93fd2a57f96031a8fa393de
This commit is contained in:
Kazuki Sakamoto
2017-05-04 09:12:34 -07:00
committed by Facebook Github Bot
parent c7ab004922
commit ff7bec703b
2 changed files with 2 additions and 2 deletions

View File

@@ -27,5 +27,5 @@ static int unmanagedLogger(const YGConfigRef config,
void YGInteropSetLogger(YGInteropLogger managedLogger) {
gManagedLogger = managedLogger;
YGSetLogger(YGConfigGetDefault(), &unmanagedLogger);
YGConfigSetLogger(YGConfigGetDefault(), &unmanagedLogger);
}