Add [[maybe_unused]] to silence unhelpful warnings
Цей коміт міститься в:
@@ -23,7 +23,7 @@ SOFTWARE.
|
||||
#include "../request.h"
|
||||
|
||||
#include "../parser.h"
|
||||
bool HandlerPageEdit::canAccess(std::string page)
|
||||
bool HandlerPageEdit::canAccess([[maybe_unused]] std::string page)
|
||||
{
|
||||
return this->userSession->user.permissions.canEdit();
|
||||
}
|
||||
|
||||
Посилання в новій задачі
Заблокувати користувача