Fixing MacOS compilation

This commit is contained in:
Jonathan Johnson 2023-11-28 07:06:12 -08:00
parent 3f2aace55e
commit bb8b82404b
No known key found for this signature in database
GPG key ID: A66D6A34D6620579

View file

@ -27,7 +27,7 @@ impl UnwindsafeCondvar {
pub const fn new() -> Self {
#[cfg(any(target_os = "ios", target_os = "macos"))]
{
Self(AssertUnwindSafe(Condvar::new()))
Self(std::panic::AssertUnwindSafe(Condvar::new()))
}
#[cfg(not(any(target_os = "ios", target_os = "macos")))]