diff --git a/indra/llxml/llxmlnode.h b/indra/llxml/llxmlnode.h index 1a8f3b9484d8e48be3d540af86af9290663c4015..b6c5845cb013f1af5025888dcf52174ff6ea8275 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;