diff --git a/indra/newview/rlvactions.cpp b/indra/newview/rlvactions.cpp index 43ba16276cb0fa70662a6fe663eb167a40890346..a626f89fe83b14352c822303cce2ccdfe2c2493a 100644 --- a/indra/newview/rlvactions.cpp +++ b/indra/newview/rlvactions.cpp @@ -446,7 +446,7 @@ bool RlvActions::canEdit(ERlvCheckType eCheckType) (!rlvHandler.hasBehaviour(RLV_BHVR_EDIT) || rlvHandler.hasException(RLV_BHVR_EDIT)) && (!rlvHandler.hasBehaviour(RLV_BHVR_EDITATTACH) || rlvHandler.hasBehaviour(RLV_BHVR_EDITWORLD)); - case ERlvCheckType::None: + case ERlvCheckType::Nothing: // Either @edit restricted with no exceptions or @editattach and @editworld restricted at the same time return (rlvHandler.hasBehaviour(RLV_BHVR_EDIT) && !rlvHandler.hasException(RLV_BHVR_EDIT)) || diff --git a/indra/newview/rlvactions.h b/indra/newview/rlvactions.h index ea341f784e83782af9ccff5f3f3791e5a47f694d..be5f95ca1c535c322b99fb69bd4fdad02daaa34c 100644 --- a/indra/newview/rlvactions.h +++ b/indra/newview/rlvactions.h @@ -35,7 +35,7 @@ class LLVOAvatar; // RlvActions class declaration - developer-friendly non-RLVa code facing class, use in lieu of RlvHandler whenever possible // -enum class ERlvCheckType { All, Some, None }; +enum class ERlvCheckType { All, Some, Nothing }; class RlvActions {