From 62e43d2a1bf11a8df950ff097d42b56bd437b531 Mon Sep 17 00:00:00 2001 From: Erica Nebula Date: Thu, 22 May 2025 23:26:54 -0500 Subject: [PATCH] primfeed: cannot use string with constexpr; revert to static const --- indra/newview/fsfloaterprimfeed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/fsfloaterprimfeed.cpp b/indra/newview/fsfloaterprimfeed.cpp index a6fc205f7a..c665d09198 100644 --- a/indra/newview/fsfloaterprimfeed.cpp +++ b/indra/newview/fsfloaterprimfeed.cpp @@ -337,7 +337,7 @@ void FSPrimfeedPhotoPanel::sendPhoto() { auto ratingToString = [&](int rating) { - constexpr std::array RATING_NAMES = { + static const std::array RATING_NAMES = { "general", // 1 "moderate", // 2 "adult", // 3