mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 06:09:08 +00:00
LibCore: Move Stream-based file into the Core
namespace
This commit is contained in:
parent
a96339b72b
commit
606a3982f3
Notes:
sideshowbarker
2024-07-18 05:01:22 +09:00
Author: https://github.com/timschumi
Commit: 606a3982f3
Pull-request: https://github.com/SerenityOS/serenity/pull/17406
Reviewed-by: https://github.com/linusg
218 changed files with 748 additions and 643 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include <AK/Noncopyable.h>
|
||||
#include <AK/StdLibExtras.h>
|
||||
#include <LibCore/File.h>
|
||||
#include <LibCore/Stream.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
@ -41,7 +42,7 @@ public:
|
|||
}
|
||||
|
||||
template<typename... Args>
|
||||
File(Core::Stream::File& file, Args... args)
|
||||
File(Core::File& file, Args... args)
|
||||
: File(file.leak_fd(Badge<File> {}), args...)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue