-
Notifications
You must be signed in to change notification settings - Fork 651
Fix warnings of c++ compilation #475
Copy link
Copy link
Closed
Labels
area/healthInvolves general matters of project configuration, health, maintenance, and similar concernsInvolves general matters of project configuration, health, maintenance, and similar concernskind/feature-requestNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
area/healthInvolves general matters of project configuration, health, maintenance, and similar concernsInvolves general matters of project configuration, health, maintenance, and similar concernskind/feature-requestNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.
There are several common warning messages of c++ compilation
In this case, let's use
std::ignore. For example, we can use:Let's define the type of iteration variable in the for-loop specifically. For example,