Replace exception.type == Exception::Ok with exception.is_ok()

This commit is contained in:
刘皓 2025-06-24 15:49:07 -04:00
parent b65525e609
commit c96c571241
No known key found for this signature in database
GPG key ID: 7901753DB465B711

View file

@ -96,7 +96,7 @@ void ALStream::open(Exception &exception, const std::string &filename)
{
openSource(exception, filename);
if (exception.type == Exception::Ok)
if (exception.is_ok())
state = Stopped;
}