mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +00:00
LibCore: Rename File
to DeprecatedFile
As usual, this removes many unused includes and moves used includes further down the chain.
This commit is contained in:
parent
14951b92ca
commit
d43a7eae54
193 changed files with 536 additions and 556 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue