diff options
author | asynts <asynts@gmail.com> | 2020-10-23 19:16:10 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-10-24 12:56:25 +0200 |
commit | aa115fe27ba330525b47bae01852b6d8ab0375c3 (patch) | |
tree | f6e5a0e15b683e12c7bf935fa2ced5dcfac60c43 /AK/LogStream.h | |
parent | 88bca152c9416dc9da49a6e86a456e5b195cc328 (diff) | |
download | serenity-aa115fe27ba330525b47bae01852b6d8ab0375c3.zip |
AK: Add [[deprecated]] to out().
Diffstat (limited to 'AK/LogStream.h')
-rw-r--r-- | AK/LogStream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/LogStream.h b/AK/LogStream.h index a27473818a..3a2c99405a 100644 --- a/AK/LogStream.h +++ b/AK/LogStream.h @@ -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 |