diff --git a/indra/newview/rlvcommon.h b/indra/newview/rlvcommon.h index f13d6ec5d2..4a2f64f64e 100644 --- a/indra/newview/rlvcommon.h +++ b/indra/newview/rlvcommon.h @@ -56,7 +56,6 @@ struct RlvException; typedef boost::variant RlvExceptionOption; class RlvGCTimer; -class RlvWLSnapshot; // ============================================================================ // RlvSettings diff --git a/indra/newview/rlvhandler.cpp b/indra/newview/rlvhandler.cpp index bcbaf263e5..4db0f533a3 100644 --- a/indra/newview/rlvhandler.cpp +++ b/indra/newview/rlvhandler.cpp @@ -72,7 +72,7 @@ static bool rlvParseNotifyOption(const std::string& strOption, S32& nChannel, st // // Checked: 2010-04-07 (RLVa-1.2.0d) | Modified: RLVa-1.0.1d -RlvHandler::RlvHandler() : m_fCanCancelTp(true), m_posSitSource(), m_pGCTimer(NULL), m_pWLSnapshot(NULL) +RlvHandler::RlvHandler() : m_fCanCancelTp(true), m_posSitSource(), m_pGCTimer(NULL) { gAgent.addListener(this, "new group"); @@ -86,7 +86,6 @@ RlvHandler::~RlvHandler() gAgent.removeListener(this); //delete m_pGCTimer; // <- deletes itself - delete m_pWLSnapshot; // <- delete on NULL is harmless } // ============================================================================ @@ -1103,8 +1102,6 @@ void RlvHandler::clearState() // Clear dynamically allocated memory delete m_pGCTimer; m_pGCTimer = NULL; - delete m_pWLSnapshot; - m_pWLSnapshot = NULL; */ } @@ -1146,8 +1143,15 @@ ERlvCmdRet RlvHandler::processAddRemCommand(const RlvCommand& rlvCmd) case RLV_BHVR_DETACHALLTHISEXCEPT: // @detachallthisexcept[: