mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +00:00
LibAudio: Remove try_
prefix from fallible LoaderPlugin methods
This commit is contained in:
parent
108ea2b921
commit
ee0297d9ec
11 changed files with 22 additions and 22 deletions
|
@ -21,7 +21,7 @@ struct FlacTest : Test::TestCase {
|
|||
|
||||
void run() const
|
||||
{
|
||||
auto result = Audio::FlacLoaderPlugin::try_create(m_path.string());
|
||||
auto result = Audio::FlacLoaderPlugin::create(m_path.string());
|
||||
if (result.is_error()) {
|
||||
FAIL(DeprecatedString::formatted("{} (at {})", result.error().description, result.error().index));
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue