From 8abe71d9eeb93b22a29ab904adc5f2d547c39534 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Sun, 4 Jul 2021 21:53:04 -0400 Subject: [PATCH] Ooops i broke the build --- indra/llxml/llxmlnode.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/llxml/llxmlnode.h b/indra/llxml/llxmlnode.h index 1a8f3b9484d..b6c5845cb01 100644 --- a/indra/llxml/llxmlnode.h +++ b/indra/llxml/llxmlnode.h @@ -210,7 +210,8 @@ class LLXMLNode : public LLThreadSafeRefCount std::string getSanitizedValue() const; std::string getTextContents() const; const LLStringTableEntry* getName() const { return mName; } - BOOL hasName(std::string_view name) const { return mName == gStringTable.checkStringEntry(name); } + BOOL hasName(const char* name) const { return mName == gStringTable.checkStringEntry(name); } + BOOL hasName(const std::string& name) const { return mName == gStringTable.checkStringEntry(name.c_str()); } const std::string& getID() const { return mID; } U32 getChildCount() const; -- GitLab