Преглед на файлове

sys: fix an idiotic bug in the thread class.

undefined
Sam Hocevar преди 11 години
родител
ревизия
9cf137e47d
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. +2
    -1
      src/sys/threadbase.h

+ 2
- 1
src/sys/threadbase.h Целия файл

@@ -262,7 +262,8 @@ private:
class thread_base
{
public:
thread_base(std::function<void(void)>)
thread_base(std::function<void(void)> function)
: m_function(function)
{
#if defined HAVE_PTHREAD_H
/* Set the joinable attribute for systems who don't play nice */


Зареждане…
Отказ
Запис