From 85f25aeb6ec059d1934e35d98e1baf9bee707a41 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Tue, 6 Jul 2021 00:49:56 -0400 Subject: [PATCH] Trivial warning fixes --- indra/llrender/llshadermgr.h | 3 --- indra/llui/lltrans.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/indra/llrender/llshadermgr.h b/indra/llrender/llshadermgr.h index ec2ba880b22..97515df40a0 100644 --- a/indra/llrender/llshadermgr.h +++ b/indra/llrender/llshadermgr.h @@ -289,9 +289,6 @@ class LLShaderMgr std::vector<std::string> mReservedUniforms; - //preprocessor definitions (name/value) - std::map<std::string, std::string> mDefinitions; - protected: // our parameter manager singleton instance diff --git a/indra/llui/lltrans.h b/indra/llui/lltrans.h index 16c690fad9e..a8a82d79835 100644 --- a/indra/llui/lltrans.h +++ b/indra/llui/lltrans.h @@ -42,7 +42,7 @@ class LLSD; class LLTransTemplate { public: - LLTransTemplate(const std::string name = std::string(), const std::string text = std::string()) : mName(std::move(name)), mText(std::move(text)) {} + LLTransTemplate(std::string name = std::string(), std::string text = std::string()) : mName(std::move(name)), mText(std::move(text)) {} std::string mName; std::string mText; -- GitLab