From 8689838a9c90699f1cfede7fd549a2945b9295db Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 3 Oct 2016 16:57:16 +0200 Subject: Don't throw from posix::thread dtor --- odb/details/posix/thread.ixx | 5 +---- 1 file changed, 1 insertion(+), 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:: -- cgit v1.1