Skip to content

Update to newer C++ standard: std::auto_ptr to std::unique_ptr #2030

Description

@larry104

I am using c++ 20 and I get lots of warning like that:
warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]

It seems std::auto_ptr was deprecated in C++11 and removed in C++17. They might keep around as it seems since I compiled with C++20 and 23. But nevertheless the flood warnings coming from linking to OLA is annoying.

Any plans to update the code?

Thanks a lot!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions