diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-10-03 16:57:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-10-03 16:57:16 +0200 |
commit | 8689838a9c90699f1cfede7fd549a2945b9295db (patch) | |
tree | 66ff42478e00f99bad2ce7f8a21f79ed06381964 | |
parent | 3945e9982bf66caa393b1572ecd5dcca0c61389d (diff) |
Don't throw from posix::thread dtor
-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:: |