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

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/41917

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

X-link: 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 коммит произвёл Facebook GitHub Bot
Родитель 17d2c8acb9
Коммит b3ba340bc3
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

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