summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-09-12 21:38:38 +0100
committerTim Flynn <trflynn89@pm.me>2022-09-20 07:48:45 -0400
commit120e5aeca40364fd1cca52739ff277aad167b08a (patch)
treed55559a0c1b8ba56d4fbf9a74f2e9223ad8b0017 /Userland/Libraries
parentf640921371a9e8dc8109f3e455a45d813c27f392 (diff)
downloadserenity-120e5aeca40364fd1cca52739ff277aad167b08a.zip
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.
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibCore/File.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibCore/File.h b/Userland/Libraries/LibCore/File.h
index 02eb5ce34f..f46c23607f 100644
--- a/Userland/Libraries/LibCore/File.h
+++ b/Userland/Libraries/LibCore/File.h
@@ -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: