mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-16 06:30:41 +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
|
@ -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