Skip to content

Commit 51c2aa1

Browse files
authored
Fixed a compilation error with gcc 14 (#5208)
1 parent 08f946a commit 51c2aa1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/pybind11/typing.h

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#include "cast.h"
1515
#include "pytypes.h"
1616

17+
#include <algorithm>
18+
1719
PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE)
1820
PYBIND11_NAMESPACE_BEGIN(typing)
1921

0 commit comments

Comments
 (0)