You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by "Junwang Zhao (Jira)" <ji...@apache.org> on 2023/01/07 16:04:00 UTC

[jira] [Created] (ORC-1347) use make_unique and make_shared when creating unique_ptr and shared_ptr

Junwang Zhao created ORC-1347:
---------------------------------

             Summary: use make_unique and make_shared when creating unique_ptr and shared_ptr
                 Key: ORC-1347
                 URL: https://issues.apache.org/jira/browse/ORC-1347
             Project: ORC
          Issue Type: Improvement
          Components: C++
    Affects Versions: master
            Reporter: Junwang Zhao
             Fix For: master


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)