boostorg / thread

Boost.org thread module
http://boost.org/libs/thread
202 stars 163 forks source link

non-virtual-dtor in future_error_category #368

Open Sil3ntStorm opened 2 years ago

Sil3ntStorm commented 2 years ago

libs/thread/src/future.cpp:19:12: warning: 'boost::thread_detail::future_error_category' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor] class future_error_category : ^ 1 warning generated.

cpsauer commented 2 years ago

+1 It's not obvious without more context that there isn't potential for a real issue here.