Skip to content

Var BadCastException #861

@micheleselea

Description

@micheleselea

in file Var.h there are those lines of code
throw BadCastException(format("Can not convert %s to %s.",
pHolder->type().name(),
typeid(T).name()));
that result in
Can not convert [ERRFMT] to [ERRFMT].
because pHolder->type().name() is char*
better to use std::string(pHolder->type().name())

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions