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
In some files (nested_bool.cpp nested_trigger.cpp and nested_number.cpp), there are wrong forward declarations:
usingnamespacerive;classStateMachineInstance; // < this is not in the global namespace, and results in a different symbol because it's not enclosed in the correct namespace (using namespace here is not placing all symbols in that namespace)// more code here that should be inside the rive namespace
should be instead
namespacerive {
classStateMachineInstance;
// more code here that should be inside the rive namespace
} // namespace rive
Also consider not doing using namespace rive; in cpp in the global namespace, this is breaking unity builds.
The text was updated successfully, but these errors were encountered:
In some files (nested_bool.cpp nested_trigger.cpp and nested_number.cpp), there are wrong forward declarations:
should be instead
Also consider not doing
using namespace rive;
in cpp in the global namespace, this is breaking unity builds.The text was updated successfully, but these errors were encountered: