Add [[maybe_unused]] to silence unhelpful warnings

This commit is contained in:
2021-10-25 17:56:37 +02:00
부모 0aa4bca6cc
커밋 6304554358
13개의 변경된 파일39개의 추가작업 그리고 38개의 파일을 삭제

파일 보기

@ -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();
}