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

Add move constructor to DispatchQueue #616

Merged
merged 1 commit into from Jun 25, 2015

Conversation

gtremper
Copy link
Contributor

Also implement operator+=(DispatchQueue&&) for DisptachQueue

dq1 += [&counter] {counter++;};

DispatchQueue dq2(std::move(dq1));
dq2.DispatchAllEvents();
Copy link
Contributor

Choose a reason for hiding this comment

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

Recommend adding a lambda before running DispatchQueue::DispatchAllEvents

Also implement operator+=(DispatchQueue&&) for DisptachQueue
codemercenary added a commit that referenced this pull request Jun 25, 2015
@codemercenary codemercenary merged commit 1f1b0b9 into develop Jun 25, 2015
@codemercenary codemercenary deleted the feature-movedispatchqueue branch June 25, 2015 00:21
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