Corrected invocation of boost::promise<T>::set_exception#536
Corrected invocation of boost::promise<T>::set_exception#536karzhenkov wants to merge 1 commit intosewenew:masterfrom
Conversation
|
Sorry, but I don't think this is a good solution. Maybe we should replace all I'll do some tests on this solution later. |
|
The only potential problem with non-virtual destructor is destruction through a pointer to a base class. Since pointers to the base ( To detect the problem at compile time, CppCoreGuidlines recommend to make the constructor of the base protected. Obviously, we cannot follow this recommendation here. However, such check is not mandatory and is actually not needed in this case. |
Closes #534