diff options
Diffstat (limited to 'Userland/Libraries/LibAudio/WavWriter.cpp')
-rw-r--r-- | Userland/Libraries/LibAudio/WavWriter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibAudio/WavWriter.cpp b/Userland/Libraries/LibAudio/WavWriter.cpp index 521a0a15f8..bbba9b15e8 100644 --- a/Userland/Libraries/LibAudio/WavWriter.cpp +++ b/Userland/Libraries/LibAudio/WavWriter.cpp @@ -5,6 +5,7 @@ */ #include <LibAudio/WavWriter.h> +#include <LibCore/DeprecatedFile.h> namespace Audio { @@ -31,7 +32,7 @@ WavWriter::~WavWriter() void WavWriter::set_file(StringView path) { - m_file = Core::File::construct(path); + m_file = Core::DeprecatedFile::construct(path); if (!m_file->open(Core::OpenMode::ReadWrite)) { m_error_string = DeprecatedString::formatted("Can't open file: {}", m_file->error_string()); return; |