From 977dbc8ede8bdf1eff43dd263f6eb0f725cb57ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Wed, 5 Jun 2024 16:29:01 +0200 Subject: [PATCH] fix: Compatibility with clang19 2 --- ...012-fix-Compatibility-with-clang19-2.patch | 25 +++++++++++++++++++ src/duckdb/src/execution/window_executor.cpp | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 patch/0012-fix-Compatibility-with-clang19-2.patch diff --git a/patch/0012-fix-Compatibility-with-clang19-2.patch b/patch/0012-fix-Compatibility-with-clang19-2.patch new file mode 100644 index 000000000..ba71cf41d --- /dev/null +++ b/patch/0012-fix-Compatibility-with-clang19-2.patch @@ -0,0 +1,25 @@ +From 621fad86f53959a7984c3bd795bace9e1737981b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Kirill=20M=C3=BCller?= +Date: Wed, 5 Jun 2024 16:29:01 +0200 +Subject: [PATCH] fix: Compatibility with clang19 2 + +--- + src/duckdb/src/execution/window_executor.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/duckdb/src/execution/window_executor.cpp b/src/duckdb/src/execution/window_executor.cpp +index 4d6b9b09..e649ff2e 100644 +--- a/src/duckdb/src/execution/window_executor.cpp ++++ b/src/duckdb/src/execution/window_executor.cpp +@@ -193,7 +193,7 @@ private: + template + struct OperationCompare : public std::function { + inline bool operator()(const T &lhs, const T &val) const { +- return OP::template Operation(lhs, val); ++ return OP::template Operation(lhs, val); + } + }; + +-- +2.43.0 + diff --git a/src/duckdb/src/execution/window_executor.cpp b/src/duckdb/src/execution/window_executor.cpp index 4d6b9b099..e649ff2ef 100644 --- a/src/duckdb/src/execution/window_executor.cpp +++ b/src/duckdb/src/execution/window_executor.cpp @@ -193,7 +193,7 @@ struct WindowColumnIterator { template struct OperationCompare : public std::function { inline bool operator()(const T &lhs, const T &val) const { - return OP::template Operation(lhs, val); + return OP::template Operation(lhs, val); } };