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

Simplify push_back GroupNotify #1736

Merged
merged 1 commit into from
Jan 2, 2020

Conversation

hanton
Copy link
Contributor

@hanton hanton commented Nov 28, 2019

Simplify push_back GroupNotify to _notifyList list in _ASAsyncTransaction.

notify._block = block;
notify._queue = queue;
_notifyList.push_back(notify);
_notifyList.push_back({block, queue});
Copy link
Member

Choose a reason for hiding this comment

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

This could also use .emplace_back(), yes?

@jparise jparise merged commit 69ae7dd into TextureGroup:master Jan 2, 2020
@jparise
Copy link
Member

jparise commented Jan 2, 2020

Merging in its proposed form to avoid any semantic changes.

Thanks @hanton!

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.

None yet

2 participants