From 843d748bb09c16523b0dbeaba2a89bdb00256405 Mon Sep 17 00:00:00 2001 From: samisalreadytaken <46823719+samisalreadytaken@users.noreply.github.com> Date: Mon, 5 Dec 2022 14:01:00 +0300 Subject: [PATCH] Use CUtlConstString instead of CUtlString --- sp/src/vscript/vscript_squirrel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sp/src/vscript/vscript_squirrel.cpp b/sp/src/vscript/vscript_squirrel.cpp index 5efb2314..8a9c97c6 100644 --- a/sp/src/vscript/vscript_squirrel.cpp +++ b/sp/src/vscript/vscript_squirrel.cpp @@ -1076,7 +1076,7 @@ struct ClassInstanceData void* instance; ScriptClassDesc_t* desc; - CUtlString instanceId; + CUtlConstString instanceId; // Indicates this game-created instance is a weak reference and can be destructed (Blixibon) bool allowDestruct;