diff options
Diffstat (limited to 'base/mac/scoped_authorizationref.h')
-rw-r--r-- | base/mac/scoped_authorizationref.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/mac/scoped_authorizationref.h b/base/mac/scoped_authorizationref.h index 1811488..6413f2e 100644 --- a/base/mac/scoped_authorizationref.h +++ b/base/mac/scoped_authorizationref.h @@ -49,7 +49,9 @@ class ScopedAuthorizationRef { return authorization_; } - AuthorizationRef* get_pointer() { return &authorization_; } + AuthorizationRef* operator&() { + return &authorization_; + } AuthorizationRef get() const { return authorization_; |