From 5dc981a827723efc7b007918467b86bf1486da16 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sat, 23 Aug 2025 11:46:58 -0700 Subject: =?UTF-8?q?games/leela-zero:=20update=200.17-30=20=E2=86=92=200.17?= =?UTF-8?q?.31;=20Unbreak=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- games/leela-zero/files/patch-src_UCTNode.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 games/leela-zero/files/patch-src_UCTNode.cpp (limited to 'games/leela-zero/files/patch-src_UCTNode.cpp') diff --git a/games/leela-zero/files/patch-src_UCTNode.cpp b/games/leela-zero/files/patch-src_UCTNode.cpp new file mode 100644 index 000000000000..5e3452ef0353 --- /dev/null +++ b/games/leela-zero/files/patch-src_UCTNode.cpp @@ -0,0 +1,12 @@ +--- src/UCTNode.cpp.orig 2025-08-23 18:43:12 UTC ++++ src/UCTNode.cpp +@@ -361,8 +361,7 @@ UCTNode* UCTNode::uct_select_child(const int color, co + return best->get(); + } + +-class NodeComp +- : public std::binary_function { ++class NodeComp { + public: + NodeComp(const int color, const float lcb_min_visits) + : m_color(color), m_lcb_min_visits(lcb_min_visits) {} -- cgit v1.2.3