summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2023-02-02 21:42:00 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2023-02-02 21:42:00 +0100
commitc3dc649badc6b93a0ec052c3a3eefbe5761c7213 (patch)
treecadf42eefd876ecde78f0189700012b0dcbc1c1d /src
parentc2df0381313ffe5e155b7dc3d6d4c7271a4b73a2 (diff)
FRP: require lock when adding dependencies
Diffstat (limited to 'src')
-rw-r--r--src/frp.cpp2
1 files changed, 1 insertions, 1 deletions
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<BhvImplBase> other)
+void BhvImplBase::dependsOn(const BhvCurTime &, shared_ptr<BhvImplBase> other)
{
depends.push_back(other);
other->rdepends.push_back(shared_from_this());