1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:07:35 +00:00

AK: Deprecate warn().

This commit is contained in:
asynts 2020-10-25 17:46:31 +01:00 committed by Andreas Kling
parent 1254cbbd0b
commit 1319ad476d

View file

@ -140,7 +140,7 @@ private:
};
[[deprecated("Use AK::outln or AK::new_out instead, AK::new_out will soon be renamed to AK::out.")]] inline StdLogStream out() { return StdLogStream(STDOUT_FILENO); }
inline StdLogStream warn() { return StdLogStream(STDERR_FILENO); }
[[deprecated("Use AK::warnln or AK::new_warn instead, AK::new_warn will soon be renamed to AK::warn.")]] inline StdLogStream warn() { return StdLogStream(STDERR_FILENO); }
#endif
#ifdef KERNEL