Fixed a compilation error with gcc 14 (#5208)

This commit is contained in:
wenqing 2024-06-28 16:12:32 +02:00 committed by Henry Schreiner
parent 65afa13eb0
commit 639ca6a71a
No known key found for this signature in database
GPG Key ID: B9D0E45146A241E8

View File

@ -14,6 +14,8 @@
#include "cast.h" #include "cast.h"
#include "pytypes.h" #include "pytypes.h"
#include <algorithm>
PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE) PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE)
PYBIND11_NAMESPACE_BEGIN(typing) PYBIND11_NAMESPACE_BEGIN(typing)