Skip to content

Revert API change due to corrected ObjectConstPtr typedef. - #104

Merged
davetcoleman merged 1 commit into
moveit:indigo-develfrom
fizyr-forks:revert-shared-ptr-api-change
Aug 23, 2016
Merged

davetcoleman merged 1 commit into
moveit:indigo-develfrom
fizyr-forks:revert-shared-ptr-api-change

Conversation

@de-vri-es

Copy link
Copy Markdown
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.


/** 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
Copy Markdown
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