You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2015/06/04 20:24:38 UTC

[jira] [Created] (MESOS-2816) Use const char[] consistently for const strings.

Jie Yu created MESOS-2816:
-----------------------------

             Summary: Use const char[] consistently for const strings.
                 Key: MESOS-2816
                 URL: https://issues.apache.org/jira/browse/MESOS-2816
             Project: Mesos
          Issue Type: Task
          Components: technical debt
            Reporter: Jie Yu


Currently, for const strings, some code uses char char[] and some code uses const char*. We should make those consistent.

I propose to use const char[] consistently because it's slightly safer than a const char pointer.



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