We might avoid some temporaries
authorPraveen Kumar <cpp.fool@gmail.com>
Fri, 13 Mar 2015 04:55:34 +0000 (10:25 +0530)
committerAndre Azevedo <aap@fb.com>
Wed, 18 Mar 2015 03:18:46 +0000 (20:18 -0700)
commit4cc84128538768f9a1ee2d1dfb51400e9f94fd88
treec35963b06a9b1519b1957a85aa90c4fd36688b42
parentc2a600499b4716a9f495427cd7012fa741d94df0
We might avoid some temporaries

Summary:
It seems we might avoid temporaries.  To do so we pass arguments
directly to constructors with the help of emplace_back member.

Test Plan:
all folly/tests, make check for 37 tests, passed.

Closes https://github.com/facebook/folly/pull/150

Reviewed By: ldbrandy@fb.com

Subscribers: lins, anca, folly-diffs@, yfeldblum

FB internal diff: D1912505

Signature: t1:1912505:1426268158:086882bb53f3d79c3f3b7b2c362318f09b5ee3be
folly/io/async/AsyncServerSocket.cpp