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

Adds iterator and const_iterator for TileLayer #1640

Merged
merged 4 commits into from
Jul 10, 2017

Conversation

ketanhwr
Copy link
Contributor

@ketanhwr ketanhwr commented Jul 6, 2017

Follow up for #1635.

Copy link
Member

@bjorn bjorn left a comment

Choose a reason for hiding this comment

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

Looking nice overal! I left a few small comments, which apply to both iterators.

In general, I think it would be nice to take the definitions out of the declarations, like I've already done with some of the inline functions of TileLayer. This keeps the API more readable.

src/libtiled/tilelayer.h Outdated Show resolved Hide resolved
src/libtiled/tilelayer.h Outdated Show resolved Hide resolved
src/libtiled/tilelayer.h Outdated Show resolved Hide resolved
src/libtiled/tilelayer.h Outdated Show resolved Hide resolved
@bjorn bjorn merged commit c5b1292 into mapeditor:master Jul 10, 2017
@bjorn
Copy link
Member

bjorn commented Jul 10, 2017

Thanks!

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