diff --git a/QuickRefactorHandler.cpp b/QuickRefactorHandler.cpp index fe70e45..ec21bb2 100644 --- a/QuickRefactorHandler.cpp +++ b/QuickRefactorHandler.cpp @@ -390,7 +390,7 @@ void QuickRefactorHandler::cancelRequest() const auto id = m_lastRequestId; m_isRefactoringInProgress = false; - m_lastRequestId = {}; + m_lastRequestId.clear(); auto it = m_activeRequests.find(id); if (it != m_activeRequests.end()) {