From 7d28f8bc4b67204c3e70fa05ee525f947f47b9e7 Mon Sep 17 00:00:00 2001 From: Tian Liao Date: Thu, 28 Nov 2024 14:05:47 +0800 Subject: [PATCH] resolve comment --- src/CalcViewModel/DataLoaders/CurrencyHttpClient.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CalcViewModel/DataLoaders/CurrencyHttpClient.h b/src/CalcViewModel/DataLoaders/CurrencyHttpClient.h index 3dd8dfd6..8a2cd10d 100644 --- a/src/CalcViewModel/DataLoaders/CurrencyHttpClient.h +++ b/src/CalcViewModel/DataLoaders/CurrencyHttpClient.h @@ -21,9 +21,9 @@ namespace CalculatorApp::ViewModel::DataLoaders assert(false && "not implemented."); } - T&& await_resume() noexcept + T await_resume() noexcept { - return std::forward(Value); + return std::move(Value); } };