mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
LibCore: Actually tell people to stop using Core::File in new code
Otherwise, we keep getting new code merged that uses it, which requires fixing later.
This commit is contained in:
parent
f640921371
commit
120e5aeca4
Notes:
sideshowbarker
2024-07-17 06:49:13 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/120e5aeca4 Pull-request: https://github.com/SerenityOS/serenity/pull/15215
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,10 @@
|
|||
|
||||
namespace Core {
|
||||
|
||||
///
|
||||
/// Use of Core::File for reading/writing data is deprecated.
|
||||
/// Please use Core::Stream::File and Core::Stream::BufferedFile instead.
|
||||
///
|
||||
class File final : public IODevice {
|
||||
C_OBJECT(File)
|
||||
public:
|
||||
|
|
Loading…
Reference in a new issue