Skip to content

Commit

Permalink
Using move semantics in MicroAutoFilter. This is required in order to…
Browse files Browse the repository at this point in the history
… avoid copying auto_out instances.
  • Loading branch information
Gabriel Hare committed Aug 7, 2014
1 parent 652cda6 commit 803f21e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autowiring/MicroAutoFilter.h
Expand Up @@ -26,7 +26,7 @@ struct MicroAutoFilter<void, Args...> {

void AutoFilter(Args... args) {
if (m_filter)
return m_filter(args...);
return m_filter(std::move(args)...);
}

protected:
Expand Down

0 comments on commit 803f21e

Please sign in to comment.