From c7be956f3f5e2b50e3af72a6170a455f20b1643b Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 19 May 2020 04:51:01 +0100 Subject: style(3p/nix/libexpr): Reformat with clang-format --- third_party/nix/src/libexpr/primops/fetchGit.cc | 2 +- third_party/nix/src/libexpr/primops/fetchMercurial.cc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'third_party/nix/src/libexpr/primops') diff --git a/third_party/nix/src/libexpr/primops/fetchGit.cc b/third_party/nix/src/libexpr/primops/fetchGit.cc index 07a0770a3f..21994db076 100644 --- a/third_party/nix/src/libexpr/primops/fetchGit.cc +++ b/third_party/nix/src/libexpr/primops/fetchGit.cc @@ -1,3 +1,4 @@ +#include #include #include #include @@ -7,7 +8,6 @@ #include "pathlocks.hh" #include "primops.hh" #include "store-api.hh" -#include using namespace std::string_literals; diff --git a/third_party/nix/src/libexpr/primops/fetchMercurial.cc b/third_party/nix/src/libexpr/primops/fetchMercurial.cc index 677855e853..17fdb2b318 100644 --- a/third_party/nix/src/libexpr/primops/fetchMercurial.cc +++ b/third_party/nix/src/libexpr/primops/fetchMercurial.cc @@ -141,7 +141,8 @@ HgInfo exportMercurial(ref store, const std::string& uri, hgInfo.storePath = json["storePath"]; if (store->isValidPath(hgInfo.storePath)) { - DLOG(INFO) << "using cached Mercurial store path '" << hgInfo.storePath << "'"; + DLOG(INFO) << "using cached Mercurial store path '" << hgInfo.storePath + << "'"; return hgInfo; } -- cgit 1.4.1