mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:07:45 +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
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,10 @@
|
||||||
|
|
||||||
namespace Core {
|
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 {
|
class File final : public IODevice {
|
||||||
C_OBJECT(File)
|
C_OBJECT(File)
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue