Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-2816

Use const char[] consistently for const strings.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jieyu Jie Yu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: