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

Mark Path::basename, Path::dirname as const functions.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 0.24.0
    • stout
    • Mesosphere Sprint 15
    • 1

    Description

      The functions Path::basename and Path::dirname in stout/path.hpp are not marked const, although they could. Marking them const would remove some ambiguities in the usage of these functions.

      Attachments

        Activity

          People

            nfnt Jan Schlicht
            nfnt Jan Schlicht
            Till Toenshoff Till Toenshoff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: