Skip to content

Commit

Permalink
initialize AppPermissions.isSDLAllowed in constructor (#3641)
Browse files Browse the repository at this point in the history
* initialize AppPermissions.isSDLAllowed in constructor

* Update src/components/policy/policy_external/include/policy/policy_types.h

Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>

* apply to regular policies

Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
  • Loading branch information
iCollin and ShobhitAd authored Feb 26, 2021
1 parent 17a9e62 commit e68933c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ struct AppPermissions {
, appRevoked(false)
, appPermissionsConsentNeeded(false)
, appUnauthorized(false)
, isSDLAllowed(false)
, requestTypeChanged(false)
, requestSubTypeChanged(false) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ struct AppPermissions {
, appRevoked(false)
, appPermissionsConsentNeeded(false)
, appUnauthorized(false)
, isSDLAllowed(false)
, requestTypeChanged(false)
, requestSubTypeChanged(false) {}

Expand Down

0 comments on commit e68933c

Please sign in to comment.