std:: added

This commit is contained in:
Robin Müller 2020-06-06 18:45:55 +02:00
parent 92f493f13a
commit c602e30a63

View File

@ -6,7 +6,7 @@
PosixThread::PosixThread(const char* name_, int priority_, size_t stackSize_):
thread(0),priority(priority_),stackSize(stackSize_) {
name[0] = '\0';
strncat(name, name_, PTHREAD_MAX_NAMELEN - 1);
std::strncat(name, name_, PTHREAD_MAX_NAMELEN - 1);
}
PosixThread::~PosixThread() {