Skip to content

Consider -Wdeprecated-copy-with-user-provided-copy warnings #1498

Description

@Enchufa2

As reported in #1485, -Wextra reports this kind of warning. As discuss there, rather than adding an explicit default copy constructor, it would probably better to just remove the custom assignment operator. If I'm correct, if we remove it, the compiler generates a default one that delegates to the base class, which already handles the assignment nicely (i.e. shares the underlying SEXP, which has the tzone attribute already).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions