Skip to content

Warning: Implicit conversion from int  #5

@sudara

Description

@sudara

I get a warning with this usage:

auto fadeOut = std::make_unique<friz::Parametric> (friz::Parametric::CurveType::kEaseInQuartic, 0.0f, 1.0f, 0.5f * 60);
auto animation = std::make_unique<friz::Animation<1>> (friz::Animation<1>::SourceList { std::move (fadeOut) }, 0);
implicit conversion changes signedness: 'int' to 'std::array::size_type' (aka 'unsigned long')
In instantiation of function template specialization 'std::make_unique<friz::Animation<1>, std::array<std::unique_ptr<friz::AnimatedValue>, 1>, int>'

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