From 0185c86052c057d84bba8d81b6ad08ec5e8b3a59 Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Sat, 18 Nov 2023 22:38:25 -0500
Subject: [PATCH] Small string temp reduction

---
 indra/newview/llaisapi.cpp | 2 +-
 indra/newview/llaisapi.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/indra/newview/llaisapi.cpp b/indra/newview/llaisapi.cpp
index 24f8e27ec02..e077326fd32 100644
--- a/indra/newview/llaisapi.cpp
+++ b/indra/newview/llaisapi.cpp
@@ -1538,7 +1538,7 @@ void AISUpdate::parseEmbedded(const LLSD& embedded, S32 depth)
 	}
 }
 
-void AISUpdate::parseUUIDArray(const LLSD& content, const std::string& name, uuid_list_t& ids)
+void AISUpdate::parseUUIDArray(const LLSD& content, const std::string_view name, uuid_list_t& ids)
 {
 	if (content.has(name))
 	{
diff --git a/indra/newview/llaisapi.h b/indra/newview/llaisapi.h
index d15a66ff4d9..559a8f75b21 100644
--- a/indra/newview/llaisapi.h
+++ b/indra/newview/llaisapi.h
@@ -115,7 +115,7 @@ class AISUpdate
 	void parseMeta(const LLSD& update);
 	void parseContent(const LLSD& update);
 // [SL:KB] - Patch: Appearance-SyncAttach | Checked: Catznip-3.7
-	static void parseUUIDArray(const LLSD& content, const std::string& name, uuid_list_t& ids);
+	static void parseUUIDArray(const LLSD& content, const std::string_view name, uuid_list_t& ids);
 // [/SL:KB]
 //	void parseUUIDArray(const LLSD& content, const std::string& name, uuid_list_t& ids);
 	void parseLink(const LLSD& link_map, S32 depth);
-- 
GitLab