* limitations under the License.
*/
-#include <glog/logging.h>
-
-#include <iostream>
#include <array>
+#include <iostream>
+#include <memory>
#include <vector>
+#include <glog/logging.h>
+
#include <folly/gen/Base.h>
#include <folly/gen/Parallel.h>
#include <folly/portability/GTest.h>
struct {
template <class T>
std::unique_ptr<T> operator()(T t) const {
- return std::unique_ptr<T>(new T(std::move(t)));
+ return std::make_unique<T>(std::move(t));
}
} makeUnique;