Skip to content

C++11 using deprecated method "std::auto_ptr" instead of "std::unique_ptr" #231

@ghost

Description

When used c ++ 11 directive the g++ show many warnings, because staff files use "std::auto_ptr",

This class is deprecated, i suggest use
"

if __cplusplus > 199711L

std::unique_ptr ...

else

std::auto_ptr ..

endif

"
or similar instead of "std::auto_ptr" code.

but it is not a problem is a warning.

Ty

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions