SyntaxFix
Write A Post
Hire A Developer
Questions
If you're getting this, you may have forgotten to put #include <thread> at the beginning of your file. OP's signature seems like it should work.
#include <thread>