blob: 878ede4a14f61796341460b273b4877d54dea995 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Patch source: https://github.com/pybind/pybind11/commit/51c2aa16de5b50fe4be6a0016d6090d4a831899e
From 51c2aa16de5b50fe4be6a0016d6090d4a831899e Mon Sep 17 00:00:00 2001
From: wenqing <wenqing.wang@ufz.de>
Date: Fri, 28 Jun 2024 16:12:32 +0200
Subject: [PATCH] Fixed a compilation error with gcc 14 (#5208)
---
include/pybind11/typing.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/pybind11/typing.h b/include/pybind11/typing.h
index c8ba18d499..b0feb9464a 100644
--- a/include/pybind11/typing.h
+++ b/include/pybind11/typing.h
@@ -14,6 +14,8 @@
#include "cast.h"
#include "pytypes.h"
+#include <algorithm>
+
PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE)
PYBIND11_NAMESPACE_BEGIN(typing)
|