From 0ff3d5f9743ebfec8832ab3c846a20cf86839eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 18 Jan 2025 19:10:23 +0100 Subject: Avoid using template alias for watch function definition From clang -Walias-template-in-declaration-name: a declarative nested name specifier cannot name an alias template. --- include/erebos/frp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/erebos') diff --git a/include/erebos/frp.h b/include/erebos/frp.h index 72b5cc9..a06519d 100644 --- a/include/erebos/frp.h +++ b/include/erebos/frp.h @@ -165,7 +165,7 @@ template using Bhv = BhvFun; template -Watched Bhv::watch(function f) +Watched BhvFun::watch(function f) { BhvCurTime ctime; auto & impl = BhvFun::impl; -- cgit v1.2.3