mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
From 4ae4fd5b2e8ea4eeb3f9dd096975eac8a0b4c9ac Mon Sep 17 00:00:00 2001
|
|
From: rodolforg <rodolforg@users.noreply.github.com>
|
|
Date: Thu, 15 May 2025 11:31:58 +0000
|
|
Subject: [PATCH] fix: missing template argument : compiler in FreeBSD
|
|
complained (#3559)
|
|
|
|
Issued error message:
|
|
> error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
|
|
|
|
fix #3557
|
|
---
|
|
synfig-core/src/synfig/rendering/software/function/array.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/synfig-core/src/synfig/rendering/software/function/array.h b/synfig-core/src/synfig/rendering/software/function/array.h
|
|
index cdc86481d87..ffe51595965 100644
|
|
--- src/synfig/rendering/software/function/array.h
|
|
+++ src/synfig/rendering/software/function/array.h
|
|
@@ -429,7 +429,7 @@ class Array: public Array<T, rank-1> {
|
|
};
|
|
|
|
void fill(const Type &x) const
|
|
- { for(Iterator i(*this); i; ++i) i.get_array().template fill(x); }
|
|
+ { for(Iterator i(*this); i; ++i) i.get_array().template fill<Type>(x); }
|
|
|
|
template<typename TT>
|
|
void assign(const Array<TT, Rank> &x) const
|