mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Dasgupta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MESOS-5797) Use shared_ptr instead of raw pointer for mesos::Authorizer in slave and master initialization.
Date Wed, 06 Jul 2016 14:46:11 GMT
Abhishek Dasgupta created MESOS-5797:
----------------------------------------

             Summary: Use shared_ptr instead of raw pointer for mesos::Authorizer in slave
and master initialization.
                 Key: MESOS-5797
                 URL: https://issues.apache.org/jira/browse/MESOS-5797
             Project: Mesos
          Issue Type: Bug
          Components: general
            Reporter: Abhishek Dasgupta
            Assignee: Abhishek Dasgupta


Like in slave.hpp, to initialize Slave instance, we are using "const Option<Authorizer*>&
authorizer" raw pointer. Instead of a raw pointer, we may use shared_ptr here as this pointer
might be shared among other objects also to support authorization in those. 
Similarly, it can be done for master initialization also.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message