diff --git a/src/CalculatorUnitTests/CurrencyConverterUnitTests.cpp b/src/CalculatorUnitTests/CurrencyConverterUnitTests.cpp index 89fb5e960..4bbfc96f4 100644 --- a/src/CalculatorUnitTests/CurrencyConverterUnitTests.cpp +++ b/src/CalculatorUnitTests/CurrencyConverterUnitTests.cpp @@ -63,6 +63,8 @@ namespace CalculatorUnitTests : ExitFunctor(std::forward(ef)) { } + ScopeExit(const ScopeExit&) = delete; + ScopeExit(ScopeExit&&) = delete; ~ScopeExit() { ExitFunctor();