You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When declaring a tag component, I accidentally made the mistake of declaring it in a system as readonly. The error given doesn't give a good description for the problem:
bazel-out/x64_windows-fastbuild-ST-0c60ee3d0c63/bin\system_impls/generated_sources/main.ecsact.systems.hh:60:15: error: no matching member function for call to 'get'
return _ctx.get<cconf::demo::Player>();
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
external/ecsact_lang_cpp\ecsact/cpp/execution_context.hh:32:4: note: candidate template ignored: constraints not satisfied [with C = cconf::demo::Player]
C get() const {
^
external/ecsact_lang_cpp\ecsact/cpp/execution_context.hh:31:12: note: because '!std::is_empty_v<cconf::demo::Player>' evaluated to false
requires(!std::is_empty_v<C>)
When declaring a tag component, I accidentally made the mistake of declaring it in a system as
readonly
. The error given doesn't give a good description for the problem:Ecsact file example:
The text was updated successfully, but these errors were encountered: