Skip to content

Commit 51c2aa1

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

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/pybind11/typing.h

Lines changed: 2 additions & 0 deletions
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)