Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auto viewparents=R->view<QuTransformComponent,QuTransformModifiedComponent,QuTransformHasChildrenComponent>();
- viewparents.each([](entt::entity e,auto &,auto &,auto &){
- }) ;
- /*
- /home/pablo/projects/quill/quill/3rdparty/entt/src/entt/entity/view.hpp: In instantiation of ‘void entt::basic_view<Entity, entt::exclude_t<Exclude ...>, Component ...>::traverse(Func, entt::type_list<Weak ...>) const [with Comp = QuTransformComponent; Func = QuTransformSystem::processModifications() const::<lambda(entt::entity, auto:63&, auto:64&, auto:65&)>; Type = {QuTransformComponent, QuTransformModifiedComponent}; Entity = entt::entity; Exclude = {}; Component = {QuTransformComponent, QuTransformModifiedComponent, QuTransformHasChildrenComponent}]’:
- /home/pablo/projects/quill/quill/3rdparty/entt/src/entt/entity/view.hpp:456:9: required from ‘void entt::basic_view<Entity, entt::exclude_t<Exclude ...>, Component ...>::each(Func) const [with Comp = QuTransformComponent; Func = QuTransformSystem::processModifications() const::<lambda(entt::entity, auto:63&, auto:64&, auto:65&)>; Entity = entt::entity; Exclude = {}; Component = {QuTransformComponent, QuTransformModifiedComponent, QuTransformHasChildrenComponent}]’
- /home/pablo/projects/quill/quill/3rdparty/entt/src/entt/entity/view.hpp:434:60: required from ‘void entt::basic_view<Entity, entt::exclude_t<Exclude ...>, Component ...>::each(Func) const [with Func = QuTransformSystem::processModifications() const::<lambda(entt::entity, auto:63&, auto:64&, auto:65&)>; Entity = entt::entity; Exclude = {}; Component = {QuTransformComponent, QuTransformModifiedComponent, QuTransformHasChildrenComponent}]’
- /home/pablo/projects/quill/quill/qutransformsystem.cpp:70:10: required from here
- /home/pablo/projects/quill/quill/3rdparty/entt/src/entt/entity/view.hpp:191:29: error: no match for call to ‘(QuTransformSystem::processModifications() const::<lambda(entt::entity, auto:63&, auto:64&, auto:65&)>) (const entt::entity&, QuTransformComponent&, entt::storage<entt::entity, QuTransformModifiedComponent, void>::object_type&)’
- 191 | func(entt, get<Comp, Type>(curr, std::get<pool_type<Type> *>(pools), entt)...);
- | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/pablo/projects/quill/quill/qutransformsystem.cpp:69:26: note: candidate: ‘template<class auto:63, class auto:64, class auto:65> QuTransformSystem::processModifications() const::<lambda(entt::entity, auto:63&, auto:64&, auto:65&)>’
- 69 | viewparents.each([](entt::entity e,auto &,auto &,auto &){
- | ^
- /home/pablo/projects/quill/quill/qutransformsystem.cpp:69:26: note: template argument deduction/substitution failed:
- In file included from /home/pablo/projects/quill/quill/3rdparty/entt/src/entt/entity/registry.hpp:27,
- from /home/pablo/projects/quill/quill/quecs.h:6,
- from /home/pablo/projects/quill/quill/qusystemecs.h:3,
- from /home/pablo/projects/quill/quill/qutransformsystem.h:3,
- from /home/pablo/projects/quill/quill/qutransformsystem.cpp:1:
- /home/pablo/projects/quill/quill/3rdparty/entt/src/entt/entity/view.hpp:191:29: note: candidate expects 4 arguments, 3 provided
- 191 | func(entt, get<Comp, Type>(curr, std::get<pool_type<Type> *>(pools), entt)...);
- | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/pablo/projects/quill/quill/3rdparty/entt/src/entt/entity/view.hpp: In instantiation of ‘void entt::basic_view<Entity, entt::exclude_t<Exclude ...>, Component ...>::traverse(Func, entt::type_list<Weak ...>) const [with Comp = QuTransformModifiedComponent; Func = QuTransformSystem::processModifications() const::<lambda(entt::entity, auto:63&, auto:64&, auto:65&)>; Type = {QuTransformComponent, QuTransformModifiedComponent}; Entity = entt::entity; Exclude = {}; Component = {QuTransformComponent, QuTransformModifiedComponent, QuTransformHasChildrenComponent}]’:
- /home/pablo/projects/quill/quill/3rdparty/entt/src/entt/entity/view.hpp:456:9: required from ‘void entt::basic_view<Entity, entt::exclude_t<Exclude ...>, Component ...>::each(Func) const [with Comp = QuTransformModifiedComponent; Func = QuTransformSystem::processModifications() const::<lambda(entt::entity, auto:63&, auto:64&, auto:65&)>; Entity = entt::entity; Exclude = {}; Component = {QuTransformComponent, QuTransformModifiedComponent, QuTransformHasChildrenComponent}]’
- /home/pablo/projects/quill/quill/3rdparty/entt/src/entt/entity/view.hpp:434:60: required from ‘void entt::basic_view<Entity, entt::exclude_t<Exclude ...>, Component ...>::each(Func) const [with Func = QuTransformSystem::processModifications() const::<lambda(entt::entity, auto:63&, auto:64&, auto:65&)>; Entity = entt::entity; Exclude = {}; Component = {QuTransformComponent, QuTransformModifiedComponent, QuTransformHasChildrenComponent}]’
- /home/pablo/projects/quill/quill/qutransformsystem.cpp:70:10: required from here
- /home/pablo/projects/quill/quill/3rdparty/entt/src/entt/entity/view.hpp:191:29: error: no match for call to ‘(QuTransformSystem::processModifications() const::<lambda(entt::entity, auto:63&, auto:64&, auto:65&)>) (const entt::entity&, entt::storage<entt::entity, QuTransformComponent, void>::object_type&, QuTransformModifiedComponent&)’
- /home/pablo/projects/quill/quill/qutransformsystem.cpp:69:26: note: candidate: ‘template<class auto:63, class auto:64, class auto:65> QuTransformSystem::processModifications() const::<lambda(entt::entity, auto:63&, auto:64&, auto:65&)>’
- 69 | viewparents.each([](entt::entity e,auto &,auto &,auto &){
- | ^
- /home/pablo/projects/quill/quill/qutransformsystem.cpp:69:26: note: template argument deduction/substitution failed:
- In file included from /home/pablo/projects/quill/quill/3rdparty/entt/src/entt/entity/registry.hpp:27,
- from /home/pablo/projects/quill/quill/quecs.h:6,
- from /home/pablo/projects/quill/quill/qusystemecs.h:3,
- from /home/pablo/projects/quill/quill/qutransformsystem.h:3,
- from /home/pablo/projects/quill/quill/qutransformsystem.cpp:1:
- /home/pablo/projects/quill/quill/3rdparty/entt/src/entt/entity/view.hpp:191:29: note: candidate expects 4 arguments, 3 provided
- 191 | func(entt, get<Comp, Type>(curr, std::get<pool_type<Type> *>(pools), entt)...);
- | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/pablo/projects/quill/quill/3rdparty/entt/src/entt/entity/view.hpp: In instantiation of ‘void entt::basic_view<Entity, entt::exclude_t<Exclude ...>, Component ...>::traverse(Func, entt::type_list<Weak ...>) const [with Comp = QuTransformHasChildrenComponent; Func = QuTransformSystem::processModifications() const::<lambda(entt::entity, auto:63&, auto:64&, auto:65&)>; Type = {QuTransformComponent, QuTransformModifiedComponent}; Entity = entt::entity; Exclude = {}; Component = {QuTransformComponent, QuTransformModifiedComponent, QuTransformHasChildrenComponent}]’:
- /home/pablo/projects/quill/quill/3rdparty/entt/src/entt/entity/view.hpp:456:9: required from ‘void entt::basic_view<Entity, entt::exclude_t<Exclude ...>, Component ...>::each(Func) const [with Comp = QuTransformHasChildrenComponent; Func = QuTransformSystem::processModifications() const::<lambda(entt::entity, auto:63&, auto:64&, auto:65&)>; Entity = entt::entity; Exclude = {}; Component = {QuTransformComponent, QuTransformModifiedComponent, QuTransformHasChildrenComponent}]’
- /home/pablo/projects/quill/quill/3rdparty/entt/src/entt/entity/view.hpp:434:60: required from ‘void entt::basic_view<Entity, entt::exclude_t<Exclude ...>, Component ...>::each(Func) const [with Func = QuTransformSystem::processModifications() const::<lambda(entt::entity, auto:63&, auto:64&, auto:65&)>; Entity = entt::entity; Exclude = {}; Component = {QuTransformComponent, QuTransformModifiedComponent, QuTransformHasChildrenComponent}]’
- /home/pablo/projects/quill/quill/qutransformsystem.cpp:70:10: required from here
- /home/pablo/projects/quill/quill/3rdparty/entt/src/entt/entity/view.hpp:201:29: error: no match for call to ‘(QuTransformSystem::processModifications() const::<lambda(entt::entity, auto:63&, auto:64&, auto:65&)>) (const entt::entity&, entt::storage<entt::entity, QuTransformComponent, void>::object_type&, entt::storage<entt::entity, QuTransformModifiedComponent, void>::object_type&)’
- 201 | func(entt, std::get<pool_type<Type> *>(pools)->get(entt)...);
- | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/pablo/projects/quill/quill/qutransformsystem.cpp:69:26: note: candidate: ‘template<class auto:63, class auto:64, class auto:65> QuTransformSystem::processModifications() const::<lambda(entt::entity, auto:63&, auto:64&, auto:65&)>’
- 69 | viewparents.each([](entt::entity e,auto &,auto &,auto &){
- | ^
- /home/pablo/projects/quill/quill/qutransformsystem.cpp:69:26: note: template argument deduction/substitution failed:
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement