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

View file

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