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
We have many instances of something that looks like
SG_ERROR("%s::create_merged_copy(): Could not cast object of %s to same type as %s\n",get_name(), other->get_name(), get_name());
This task is to remove the %s::method_name and corresponding get_name(), as we can now use an internal loglevel to autogenerate this context, i.e. change it to
SG_ERROR("Could not cast object of %s to same type as %s\n",other->get_name(), get_name());
Grep for %s:: to find them. Super easy entrance task
Also, this particular error message is an example of a bad error message. They can also be cleaned up to something like
REQUIRE(other, "No feature object given.\n");
SG_ERROR("Given feature object (index %d, type %s), must have the same type as this instance (%s) %s\n", i, other->get_name(), get_name());
The text was updated successfully, but these errors were encountered:
We have many instances of something that looks like
This task is to remove the
%s::method_name
and correspondingget_name()
, as we can now use an internal loglevel to autogenerate this context, i.e. change it toGrep for
%s::
to find them. Super easy entrance taskAlso, this particular error message is an example of a bad error message. They can also be cleaned up to something like
The text was updated successfully, but these errors were encountered: