mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-20 21:33:10 -07:00
improve scope guard
This commit is contained in:
parent
7d28f8bc4b
commit
1776695ce0
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,8 @@ namespace CalculatorUnitTests
|
||||||
: ExitFunctor(std::forward<F>(ef))
|
: ExitFunctor(std::forward<F>(ef))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
ScopeExit(const ScopeExit&) = delete;
|
||||||
|
ScopeExit(ScopeExit&&) = delete;
|
||||||
~ScopeExit()
|
~ScopeExit()
|
||||||
{
|
{
|
||||||
ExitFunctor();
|
ExitFunctor();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue