From 2beac20ee3d348120213ba3ae6f532e8c3737ae4 Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Sat, 30 Aug 2025 22:38:31 -0500 Subject: [PATCH] Asset suffix should be const, not constexpr --- scwx-qt/source/scwx/qt/ui/update_dialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scwx-qt/source/scwx/qt/ui/update_dialog.cpp b/scwx-qt/source/scwx/qt/ui/update_dialog.cpp index edb0396e..f3ccb2d8 100644 --- a/scwx-qt/source/scwx/qt/ui/update_dialog.cpp +++ b/scwx-qt/source/scwx/qt/ui/update_dialog.cpp @@ -93,9 +93,9 @@ void UpdateDialog::Impl::HandleAsset(const types::gh::ReleaseAsset& asset) #if defined(_WIN32) # if defined(_M_AMD64) - static constexpr std::string assetSuffix = "-x64.msi"; + static const std::string assetSuffix = "-x64.msi"; # else - static constexpr std::string assetSuffix = "-arm64.msi"; + static const std::string assetSuffix = "-arm64.msi"; # endif if (asset.name_.ends_with(assetSuffix))