Skip to content

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

@larry104

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions