#include <iostream>
#include <limits>
#include <map>
+#include <memory>
#include <utility>
#include <vector>
#include <boost/regex.hpp>
-#include <folly/Foreach.h>
#include <folly/MapUtil.h>
#include <folly/String.h>
+#include <folly/container/Foreach.h>
#include <folly/json.h>
using namespace std;
std::unique_ptr<boost::regex> bmRegex;
if (!FLAGS_bm_regex.empty()) {
- bmRegex.reset(new boost::regex(FLAGS_bm_regex));
+ bmRegex = std::make_unique<boost::regex>(FLAGS_bm_regex);
}
// PLEASE KEEP QUIET. MEASUREMENTS IN PROGRESS.