Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert API change due to corrected ObjectConstPtr typedef. #104

Merged

Conversation

de-vri-es
Copy link
Contributor

In #77 (cherry-picked from #70) a typedef for ObjectConstPtr was fixed to actually be a pointer-to-const, but it appears in the public API in a number of places. To avoid API breakage within indigo, this PR reverts the specific changes that touch the API. See also #98.

Note: This should not be cherry-picked to Jade or Kinetic.

@@ -109,7 +111,7 @@ namespace collision_detection
ObjectConstPtr getObject(const std::string &id) const;

/** iterator over the objects in the world. */
typedef std::map<std::string, ObjectPtr>::const_iterator const_iterator;
typedef std::map<std::string, ObjectConstPtr>::const_iterator const_iterator;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this is not really required, since the two types are actually the same. Not sure why I also reverted this to be honest...

@davetcoleman davetcoleman merged commit dca46d3 into moveit:indigo-devel Aug 23, 2016
JafarAbdi pushed a commit to JafarAbdi/moveit that referenced this pull request Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants