Mercurial > hg > orthanc-authorization
changeset 261:c41542e14885
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 08 Aug 2025 15:21:57 +0200 |
parents | e957ca443917 |
children | 624172833314 934c8049a285 |
files | Plugin/AuthorizationWebService.h Plugin/CachedAuthorizationService.h |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugin/AuthorizationWebService.h Mon Jul 14 11:40:03 2025 +0200 +++ b/Plugin/AuthorizationWebService.h Fri Aug 08 15:21:57 2025 +0200 @@ -102,9 +102,10 @@ const std::string& tokenKey, const std::string& tokenValue) ORTHANC_OVERRIDE; - virtual bool GetSettingsRoles(Json::Value& roles); + virtual bool GetSettingsRoles(Json::Value& roles) ORTHANC_OVERRIDE; + virtual bool UpdateSettingsRoles(Json::Value& response, - const Json::Value& roles); + const Json::Value& roles) ORTHANC_OVERRIDE; static void ToJson(Json::Value& output, const UserProfile& profile);
--- a/Plugin/CachedAuthorizationService.h Mon Jul 14 11:40:03 2025 +0200 +++ b/Plugin/CachedAuthorizationService.h Fri Aug 08 15:21:57 2025 +0200 @@ -105,12 +105,13 @@ tokenValue); } - virtual bool GetSettingsRoles(Json::Value& roles) + virtual bool GetSettingsRoles(Json::Value& roles) ORTHANC_OVERRIDE { return decorated_->GetSettingsRoles(roles); } - virtual bool UpdateSettingsRoles(Json::Value& response, const Json::Value& roles) + virtual bool UpdateSettingsRoles(Json::Value& response, + const Json::Value& roles) ORTHANC_OVERRIDE { return decorated_->UpdateSettingsRoles(response, roles); }