Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-1347

use make_unique and make_shared when creating unique_ptr and shared_ptr

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 1.9.0
    • C++
    • None

    Description

      We have already switched to C++17, so make_unique should be there, use make_unique

      and make_shared will make the code more neat and maintainable.

      Attachments

        Issue Links

          Activity

            People

              zhjwpku Junwang Zhao
              zhjwpku Junwang Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: