diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-25 15:15:14 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-25 15:15:46 +0200 |
commit | 9fb2a657167c0d67c50eb01160a425c1529650d8 (patch) | |
tree | 200f63263c1a60dd0743feae85624e2d877eecd8 /AK/LogStream.h | |
parent | 03b9f6b7f819036c02d4bc8e4b931fbb79ea32cf (diff) | |
download | serenity-9fb2a657167c0d67c50eb01160a425c1529650d8.zip |
AK: Rename ValueRestorer => ScopedValueRollback.
Qt had a pretty good name for this concept, so let's steal it. :^)
Diffstat (limited to 'AK/LogStream.h')
-rw-r--r-- | AK/LogStream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/LogStream.h b/AK/LogStream.h index 8eb7cca626..81480adfb6 100644 --- a/AK/LogStream.h +++ b/AK/LogStream.h @@ -3,7 +3,7 @@ #include <AK/kstdio.h> #ifdef USERLAND -#include <AK/ValueRestorer.h> +#include <AK/ScopedValueRollback.h> #include <errno.h> #endif @@ -77,7 +77,7 @@ protected: private: #ifdef USERLAND - ValueRestorer<int> m_errno_restorer; + ScopedValueRollback<int> m_errno_restorer; #endif }; |