summaryrefslogtreecommitdiff
path: root/AK/ScopedValueRollback.h
AgeCommit message (Collapse)Author
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2019-07-25AK: Add ScopedValueRollback::set_override_rollback_value().Andreas Kling
This can be used if you change your mind about what value we should roll back to. :^)
2019-07-25AK: Rename ValueRestorer => ScopedValueRollback.Andreas Kling
Qt had a pretty good name for this concept, so let's steal it. :^)