Skip to content

Commit

Permalink
fix(push): go back, detail::make_unique to std::make_unique
Browse files Browse the repository at this point in the history
  • Loading branch information
jinrui committed Jun 20, 2022
1 parent d821e0c commit 280a00f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion push/src/gateway.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace prometheus {
Gateway::Gateway(const std::string& host, const std::string& port,
const std::string& jobname, const Labels& labels,
const std::string& username, const std::string& password) {
curlWrapper_ = detail::make_unique<detail::CurlWrapper>(username, password);
curlWrapper_ = std::make_unique<detail::CurlWrapper>(username, password);

std::stringstream jobUriStream;
jobUriStream << host << ':' << port << "/metrics/job/" << jobname;
Expand Down

0 comments on commit 280a00f

Please sign in to comment.