From 760be77eb5e3868902af4e452c375b9458f4b03d Mon Sep 17 00:00:00 2001 From: Ansariel Date: Tue, 28 Apr 2015 20:40:43 +0200 Subject: [PATCH] Fix method signatures in FSLSLProprocessor for "not-supported" case --- indra/newview/fslslpreproc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/fslslpreproc.cpp b/indra/newview/fslslpreproc.cpp index 41baf457c3..2b837c2ec8 100644 --- a/indra/newview/fslslpreproc.cpp +++ b/indra/newview/fslslpreproc.cpp @@ -1523,7 +1523,7 @@ void FSLSLPreprocessor::start_process() #else -std::string FSLSLPreprocessor::encode(std::string script) +std::string FSLSLPreprocessor::encode(const std::string& script) { LLStringUtil::format_map_t args; args["[WHERE]"] = "encode"; @@ -1531,7 +1531,7 @@ std::string FSLSLPreprocessor::encode(std::string script) return script; } -std::string FSLSLPreprocessor::decode(std::string script) +std::string FSLSLPreprocessor::decode(const std::string& script) { LLStringUtil::format_map_t args; args["[WHERE]"] = "decode";