diff options
-rw-r--r-- | odb/details/posix/thread.ixx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/odb/details/posix/thread.ixx b/odb/details/posix/thread.ixx index 43fc45c..afc72a1 100644 --- a/odb/details/posix/thread.ixx +++ b/odb/details/posix/thread.ixx @@ -12,10 +12,7 @@ namespace odb ~thread () { if (!detached_) - { - if (int e = pthread_detach (id_)) - throw posix_exception (e); - } + pthread_detach (id_) } inline void* thread:: |