From 120e5aeca40364fd1cca52739ff277aad167b08a Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Mon, 12 Sep 2022 21:38:38 +0100 Subject: [PATCH] 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. --- Userland/Libraries/LibCore/File.h | 4 ++++ 1 file changed, 4 insertions(+) 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: