diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-02-21 16:28:23 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-02-21 16:28:23 +0100 |
commit | fe9afb65bb35737a144acd612170b2e284298a2f (patch) | |
tree | acac44bb153ad9f7e5c6713220cd05cf1c17cb5c /src/libexpr | |
parent | afcdc7606cb9c1a1603a3a51b08ac411f82795db (diff) |
Remove std::set alias
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/get-drvs.cc | 2 | ||||
-rw-r--r-- | src/libexpr/primops.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/get-drvs.cc b/src/libexpr/get-drvs.cc index 5995a857b..167fb5fa9 100644 --- a/src/libexpr/get-drvs.cc +++ b/src/libexpr/get-drvs.cc @@ -266,7 +266,7 @@ void DrvInfo::setMeta(const string & name, Value * v) /* Cache for already considered attrsets. */ -typedef set<Bindings *> Done; +typedef std::set<Bindings *> Done; /* Evaluate value `v'. If it evaluates to a set of type `derivation', diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 6f79fc49d..44f0b19bc 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -654,7 +654,7 @@ static void prim_genericClosure(EvalState & state, const Pos & pos, Value * * ar // `doneKeys' doesn't need to be a GC root, because its values are // reachable from res. auto cmp = CompareValues(state); - set<Value *, decltype(cmp)> doneKeys(cmp); + std::set<Value *, decltype(cmp)> doneKeys(cmp); while (!workSet.empty()) { Value * e = *(workSet.begin()); workSet.pop_front(); |