-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use contains() in most add* functions
In most add* functions it's straight forward to replace the old pattern for checking the ids with the new contains function. This commit contains all the easy cases. The warning were also adjusted to look like this: PCL_WARN ("[functionName] The id <%s> already exists! Please choose a different id and retry.\n", id.c_str ()); Note that previously some warning were wrong, e.g., they complained about PointClouds, even though Gradients were added. This was fixed by using the generic warning from above. In some spots pcl::console::print_warn was used instead of PCL_WARN. Now PCL_WARN is used in all add* functions.
- Loading branch information
Showing
1 changed file
with
31 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters