mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 00:52:28 +02:00
Previously, error_string() returned char* which is bad Serenity style and caused issues when other error handling methods were tried. As both WavLoader and (future) FLAC loader store a String internally for the error message, it makes sense to return a String reference instead.
2.8 KiB
2.8 KiB