summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpool.h
diff options
context:
space:
mode:
authorGeenz Linden <geenz@lindenlab.com>2022-10-06 15:18:17 -0400
committerGeenz Linden <geenz@lindenlab.com>2022-10-06 15:18:17 -0400
commitdb92f9564992b9910b21f3de57a584ccfa199e75 (patch)
tree04dc727d9b536761042f1d968b36bb07d220f13b /indra/newview/lldrawpool.h
parentbe1cdc1aaa67eca71fee8cbbc16b4c85bcbdb258 (diff)
Switch away from std::string
API expects const char* anyways.
Diffstat (limited to 'indra/newview/lldrawpool.h')
-rw-r--r--indra/newview/lldrawpool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/lldrawpool.h b/indra/newview/lldrawpool.h
index e664208154..e8fde70ed0 100644
--- a/indra/newview/lldrawpool.h
+++ b/indra/newview/lldrawpool.h
@@ -199,7 +199,7 @@ public:
};
#ifdef LL_PROFILER_ENABLE_TRACY_OPENGL
- static std::string lookupPassName(U32 pass)
+ static inline const char* lookupPassName(U32 pass)
{
switch (pass)
{
@@ -331,7 +331,7 @@ public:
}
}
#else
- static std::string lookupPass(U32 pass) { return ""; }
+ static inline const char* lookupPass(U32 pass) { return ""; }
#endif
LLRenderPass(const U32 type);