diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2025-01-18 19:10:23 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-01-18 19:10:23 +0100 |
commit | 0ff3d5f9743ebfec8832ab3c846a20cf86839eec (patch) | |
tree | 14b2fd1faa272a56139a122f4c99f67a60ee897c | |
parent | a514bb99355bafa3e3ee323d1451c1e7c2d8ca74 (diff) |
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.
-rw-r--r-- | include/erebos/frp.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<typename A> using Bhv = BhvFun<monostate, A>; template<typename A> -Watched<A> Bhv<A>::watch(function<void(const A &)> f) +Watched<A> BhvFun<monostate, A>::watch(function<void(const A &)> f) { BhvCurTime ctime; auto & impl = BhvFun<monostate, A>::impl; |