Skip to content

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.

2 participants