Add missing include <thread>
Otherwise, gcc thinks this_thread is coming from std instead of thread
-
Developer
Hi, I just came across kio-extras failing to build on the release/21.04 branch with latests openSUSE TW, and found it needed a fix like 71579088. Checking master afterwards, I found this commit. But now I am confused this commit added the include instead to transfer.h, while std::this_thread is only used in smb/autotests/transfertest.cpp ?
Also am I confused right now what you mean exactly by
Otherwise, gcc thinks this_thread is coming from std instead of thread
"coming from std" is meant as in?
-
Developer
Hm, I could not immediately tell what I ate yesterday either :P
Okay, right now with no further information I would think we could move the include to the only file that needs it, will do then so tonight. Thanks for quick reply.
Please register or sign in to comment