summaryrefslogtreecommitdiff
path: root/indra/newview/rlvhandler.cpp
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@posteo.nl>2024-09-28 00:36:12 +0200
committerErik Kundiman <erik@megapahit.org>2025-05-11 16:29:32 +0800
commitab89ea5e209a91689e06352e73635c735015ddbf (patch)
treede1822e0c755e0b46124bb341a467d9611539794 /indra/newview/rlvhandler.cpp
parentcde79c60f1def5282eac6b6d83470b71a67b9268 (diff)
Replace None and Success. Those are X11 defines and thus lead to compile errors
when compiling a Linux viewer.
Diffstat (limited to 'indra/newview/rlvhandler.cpp')
-rw-r--r--indra/newview/rlvhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/rlvhandler.cpp b/indra/newview/rlvhandler.cpp
index bf086c1b4b..6c4b439105 100644
--- a/indra/newview/rlvhandler.cpp
+++ b/indra/newview/rlvhandler.cpp
@@ -198,7 +198,7 @@ ECmdRet ReplyHandler<EBehaviour::GetCommand>::onCommand(const RlvCommand& rlvCmd
std::list<std::string> cmdList;
if (BehaviourDictionary::instance().getCommands(!optionList.empty() ? optionList[0] : LLStringUtil::null, eType, cmdList))
strReply = boost::algorithm::join(cmdList, optionList.size() >= 3 ? optionList[2] : Constants::OptionSeparator);
- return ECmdRet::Success;
+ return ECmdRet::Succeeded;
}
// Handles: @version=<chnannel> and @versionnew=<channel>
@@ -206,7 +206,7 @@ template<> template<>
ECmdRet VersionReplyHandler::onCommand(const RlvCommand& rlvCmd, std::string& strReply)
{
strReply = Strings::getVersion(EBehaviour::Version == rlvCmd.getBehaviourType());
- return ECmdRet::Success;
+ return ECmdRet::Succeeded;
}
// Handles: @versionnum[:impl]=<channel>
@@ -219,7 +219,7 @@ ECmdRet ReplyHandler<EBehaviour::VersionNum>::onCommand(const RlvCommand& rlvCmd
strReply = Strings::getVersionImplNum();
else
return ECmdRet::FailedOption;
- return ECmdRet::Success;
+ return ECmdRet::Succeeded;
}
// ============================================================================