So I tried to create a thread for two functions from a class that I made:
MessagesSender all;
std::thread t1(all.updateMessages);
std::thread t2(all.sendMessages);
But it says this error when I try to compile : non-standard syntax; use '&' to create a pointer to member
Why??