Skip to content

Commit

Permalink
improve scope guard
Browse files Browse the repository at this point in the history
  • Loading branch information
tian-lt committed Nov 28, 2024
1 parent 7d28f8b commit 1776695
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CalculatorUnitTests/CurrencyConverterUnitTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ namespace CalculatorUnitTests
: ExitFunctor(std::forward<F>(ef))
{
}
ScopeExit(const ScopeExit&) = delete;
ScopeExit(ScopeExit&&) = delete;
~ScopeExit()
{
ExitFunctor();
Expand Down

0 comments on commit 1776695

Please sign in to comment.