/build/source/Telegram/ThirdParty/tgcalls/tgcalls/ThreadLocalObject.h:22:34: error: no matching function for call to 'rtc::Thread::PostTask(tgcalls::ThreadLocalObject<tgcalls::Manager>::ThreadLocalObject<tgcalls::InstanceImpl::InstanceImpl(tgcalls::Descriptor&&)::<lambda()> >(rtc::Thread*, tgcalls::InstanceImpl::InstanceImpl(tgcalls::Descriptor&&)::<lambda()>&&)::<lambda()>)'
22 | _thread->PostTask([valueHolder = _valueHolder.get(), generator = std::forward<Generator>(generator)]() mutable {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23 | valueHolder->_value.reset(generator());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24 | });
| ~~
Steps to reproduce
build tdesktop 3.7.6 (45caa25) with qt 6.3.1 in nixpkgs
nixpkgs branch: https://github.com/milahu/nixpkgs/tree/qt6-631
tdesktop: pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
Expected behaviour
build
Actual behaviour
Operating system
linux
Version of Telegram Desktop
3.7.6
Installation source
Other (unofficial) source
Logs
tdesktop-45caa25e5518c8b0bece8cdfc9be22aed17858d3-qt631-error.log.gz