From c3dc649badc6b93a0ec052c3a3eefbe5761c7213 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Thu, 2 Feb 2023 21:42:00 +0100 Subject: FRP: require lock when adding dependencies --- src/frp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/frp.cpp b/src/frp.cpp index 1d377dd..eba104d 100644 --- a/src/frp.cpp +++ b/src/frp.cpp @@ -73,7 +73,7 @@ BhvCurTime & BhvCurTime::operator=(BhvCurTime && other) BhvImplBase::~BhvImplBase() = default; -void BhvImplBase::dependsOn(shared_ptr other) +void BhvImplBase::dependsOn(const BhvCurTime &, shared_ptr other) { depends.push_back(other); other->rdepends.push_back(shared_from_this()); -- cgit v1.2.3