The one where Linux does not let you have nice things and call them None...

meow-7.2.2
Kitty Barnett 2021-07-12 16:16:01 +02:00
parent fe5a2e717e
commit 3016bb5252
2 changed files with 2 additions and 2 deletions

View File

@ -443,7 +443,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)) ||

View File

@ -33,7 +33,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
{