AK: Add [[deprecated]] to out().

This commit is contained in:
asynts 2020-10-23 19:16:10 +02:00 committed by Andreas Kling
parent 88bca152c9
commit aa115fe27b
Notes: sideshowbarker 2024-07-19 01:46:41 +09:00

View file

@ -139,7 +139,7 @@ private:
int m_fd { -1 };
};
inline StdLogStream out() { return StdLogStream(STDOUT_FILENO); }
[[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); }
#endif