summaryrefslogtreecommitdiff
path: root/AK/LogStream.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-25 15:15:14 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-25 15:15:46 +0200
commit9fb2a657167c0d67c50eb01160a425c1529650d8 (patch)
tree200f63263c1a60dd0743feae85624e2d877eecd8 /AK/LogStream.h
parent03b9f6b7f819036c02d4bc8e4b931fbb79ea32cf (diff)
downloadserenity-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.h4
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
};