diff options
author | Vincent Ambo <mail@tazj.in> | 2020-08-06T02·26+0100 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2020-08-06T02·30+0000 |
commit | 3ec366167823c0821d94b4b79fb6265c58e8bffb (patch) | |
tree | b9989962bed8d9fb9d595b34d753bdb4a75069d5 /third_party/nix/src/libstore/build.cc | |
parent | 91bd7ce73ab7eacaf995090014f67391624531c1 (diff) |
refactor(tvix): Use absl::btree_map for DerivationInputs r/1611
Change-Id: If160ab1b09161969d9080d5d0d6f82e44a953e3c Reviewed-on: https://cl.tvl.fyi/c/depot/+/1684 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/nix/src/libstore/build.cc')
-rw-r--r-- | third_party/nix/src/libstore/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libstore/build.cc b/third_party/nix/src/libstore/build.cc index afd2374b0ac1..27d6aa611f6f 100644 --- a/third_party/nix/src/libstore/build.cc +++ b/third_party/nix/src/libstore/build.cc @@ -713,7 +713,7 @@ HookInstance::~HookInstance() { ////////////////////////////////////////////////////////////////////// -typedef std::map<std::string, std::string> StringRewrites; +using StringRewrites = std::map<std::string, std::string>; std::string rewriteStrings(std::string s, const StringRewrites& rewrites) { for (auto& i : rewrites) { |