Skip to content

在linux下编译的错误!!! #1

Description

@creatorlxd
/home/lxd/ICM/source/runtime/deffunc.cpp: In lambda function:
/home/lxd/ICM/source/runtime/deffunc.cpp:285:38: error: converting to ‘const DataList {aka const Common::lightlist<ICM::Object*>}’ from initializer list would use explicit constructor ‘Common::lightlist<T>::lightlist(const std::initializer_list<_Tp>&) [with T = ICM::Object*]’
      r = rf.call({ a.get(), b.get() });

在修改了lightlist.h的构造函数的explicit后,虽然编译成功了。但是defunc不能正常工作!!!

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