diff options
author | Max Kellermann <max@duempel.org> | 2016-06-17 19:06:30 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-06-17 19:11:20 +0200 |
commit | d3c7fac60619f5cddd6550a9caa0bea67d6557e0 (patch) | |
tree | 62ed96fb6606564759314899d2b3c37debb71ff3 /src/thread/Thread.hxx | |
parent | fea3f6cc72089ca5736e74450bb5ff51581ec146 (diff) |
thread/Thread: throw std::system_error on error
Diffstat (limited to 'src/thread/Thread.hxx')
-rw-r--r-- | src/thread/Thread.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/thread/Thread.hxx b/src/thread/Thread.hxx index a276b4f3c..04860786f 100644 --- a/src/thread/Thread.hxx +++ b/src/thread/Thread.hxx @@ -31,8 +31,6 @@ #include <assert.h> -class Error; - class Thread { #ifdef WIN32 HANDLE handle = nullptr; @@ -91,7 +89,7 @@ public: #endif } - bool Start(void (*f)(void *ctx), void *ctx, Error &error); + bool Start(void (*f)(void *ctx), void *ctx); void Join(); private: |