diff options
author | Ansariel <ansariel.hiller@phoenixviewer.com> | 2024-02-21 16:49:48 +0100 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-02-21 19:02:58 +0200 |
commit | 3ffe63b8a4e8a3ceda3f6d204e4b5bb0c80d0870 (patch) | |
tree | 80eebe22b53d48161fa92a62991275b2e2dae5ce /indra/newview/tests/llsechandler_basic_test.cpp | |
parent | 0fb52bd372aad468c890fc57f4ae3b8be7dad463 (diff) |
Convert remaining BOOLs in llxml and introduce std::string_view
Diffstat (limited to 'indra/newview/tests/llsechandler_basic_test.cpp')
-rw-r--r-- | indra/newview/tests/llsechandler_basic_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/tests/llsechandler_basic_test.cpp b/indra/newview/tests/llsechandler_basic_test.cpp index b720e60d21..18b424c95b 100644 --- a/indra/newview/tests/llsechandler_basic_test.cpp +++ b/indra/newview/tests/llsechandler_basic_test.cpp @@ -78,8 +78,8 @@ LLControlVariable* LLControlGroup::declareString(const std::string& name, const std::string& initial_val, const std::string& comment, LLControlVariable::ePersist persist) {return NULL;} -void LLControlGroup::setString(const std::string& name, const std::string& val){} -std::string LLControlGroup::getString(const std::string& name) +void LLControlGroup::setString(std::string_view name, const std::string& val){} +std::string LLControlGroup::getString(std::string_view name) { if (name == "FirstName") @@ -90,7 +90,7 @@ std::string LLControlGroup::getString(const std::string& name) } // Stub for --no-verify-ssl-cert -bool LLControlGroup::getBOOL(const std::string& name) { return false; } +bool LLControlGroup::getBOOL(std::string_view name) { return false; } LLSD LLCredential::getLoginParams() { |