Skip to content

Commit 0d85dde

Browse files
authored
Merge pull request #13 from frogarian/fix/usage-after-move
fix usage after move
2 parents 9ea55c8 + af06713 commit 0d85dde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/rohrkabel/channel/channel.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace pipewire
2727
template <cr::Visitable<T> Callback>
2828
void receiver<T>::attach(std::shared_ptr<main_loop> loop, Callback &&callback)
2929
{
30-
static auto receive = [this, callback = std::forward<Callback>(callback)]()
30+
auto receive = [this, callback = std::forward<Callback>(callback)]()
3131
{
3232
cr::receiver<T>::recv(callback);
3333
};

0 commit comments

Comments
 (0)