mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:57:35 +00:00
AK: Rename ValueRestorer => ScopedValueRollback.
Qt had a pretty good name for this concept, so let's steal it. :^)
This commit is contained in:
parent
03b9f6b7f8
commit
9fb2a65716
3 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue