Skip to content
Snippets Groups Projects
  • Gemma Guest's avatar
    b5266122
    Re #19773 Fix copy-constructor warning · b5266122
    Gemma Guest authored
    This commit removes a second copy constructor, which was causing a
    compiler warning. The second constructor had been added to avoid a
    problem where the copy constructor is hidden by a templated constructor
    when the argument is non-const. The templated constructor has the
    correct behaviour, though, so the second copy constructor is not
    really necessary.
    b5266122
    History
    Re #19773 Fix copy-constructor warning
    Gemma Guest authored
    This commit removes a second copy constructor, which was causing a
    compiler warning. The second constructor had been added to avoid a
    problem where the copy constructor is hidden by a templated constructor
    when the argument is non-const. The templated constructor has the
    correct behaviour, though, so the second copy constructor is not
    really necessary.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.