refactor: simpler followup to #2569 (#2572)

This commit is contained in:
Henry Schreiner 2020-10-09 17:12:05 -04:00 committed by GitHub
parent c02f0ec607
commit fecef38864
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -741,7 +741,7 @@ protected:
} catch (error_already_set &e) { } catch (error_already_set &e) {
e.restore(); e.restore();
return nullptr; return nullptr;
#if defined(__GNUG__) && !defined(_LIBCPP_VERSION) #ifdef __GLIBCXX__
} catch ( abi::__forced_unwind& ) { } catch ( abi::__forced_unwind& ) {
throw; throw;
#endif #endif