std::terminate belongs to <exception> header (#1511)

Summary:
X-link: https://github.com/facebook/react-native/pull/41917

See also https://en.cppreference.com/w/cpp/error/terminate.

Pull Request resolved: https://github.com/facebook/yoga/pull/1511

Reviewed By: christophpurrer

Differential Revision: D52072882

Pulled By: NickGerleman

fbshipit-source-id: 4d4d442b82d108d1d2ff5d241fbdc8df89045fed
This commit is contained in:
Cheng Zhao
2023-12-17 00:47:44 -08:00
committed by Facebook GitHub Bot
parent 464d1668ba
commit 2a8c7a4223

View File

@@ -5,6 +5,7 @@
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
#include <exception>
#include <stdexcept> #include <stdexcept>
#include <yoga/config/Config.h> #include <yoga/config/Config.h>