diff options
-rw-r--r-- | src/libexpr/get-drvs.hh | 4 | ||||
-rw-r--r-- | src/libexpr/primops.cc | 4 | ||||
-rw-r--r-- | src/libstore/names.hh | 2 | ||||
-rw-r--r-- | src/libstore/pathlocks.hh | 2 | ||||
-rw-r--r-- | src/libutil/types.hh | 5 |
5 files changed, 8 insertions, 9 deletions
diff --git a/src/libexpr/get-drvs.hh b/src/libexpr/get-drvs.hh index 29bb6a660..128354682 100644 --- a/src/libexpr/get-drvs.hh +++ b/src/libexpr/get-drvs.hh @@ -70,9 +70,9 @@ public: #if HAVE_BOEHMGC -typedef list<DrvInfo, traceable_allocator<DrvInfo> > DrvInfos; +typedef std::list<DrvInfo, traceable_allocator<DrvInfo> > DrvInfos; #else -typedef list<DrvInfo> DrvInfos; +typedef std::list<DrvInfo> DrvInfos; #endif diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index defb861e6..6f79fc49d 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -574,9 +574,9 @@ struct CompareValues #if HAVE_BOEHMGC -typedef list<Value *, gc_allocator<Value *> > ValueList; +typedef std::list<Value *, gc_allocator<Value *> > ValueList; #else -typedef list<Value *> ValueList; +typedef std::list<Value *> ValueList; #endif diff --git a/src/libstore/names.hh b/src/libstore/names.hh index 6f01fe2a1..ecbad10b3 100644 --- a/src/libstore/names.hh +++ b/src/libstore/names.hh @@ -25,7 +25,7 @@ private: std::unique_ptr<Regex> regex; }; -typedef list<DrvName> DrvNames; +typedef std::list<DrvName> DrvNames; std::string_view nextComponent(std::string_view::const_iterator & p, const std::string_view::const_iterator end); diff --git a/src/libstore/pathlocks.hh b/src/libstore/pathlocks.hh index 919c8904c..759b9a584 100644 --- a/src/libstore/pathlocks.hh +++ b/src/libstore/pathlocks.hh @@ -20,7 +20,7 @@ class PathLocks { private: typedef std::pair<int, Path> FDPair; - list<FDPair> fds; + std::list<FDPair> fds; bool deletePaths; public: diff --git a/src/libutil/types.hh b/src/libutil/types.hh index e3aca20c9..130c04451 100644 --- a/src/libutil/types.hh +++ b/src/libutil/types.hh @@ -11,12 +11,11 @@ namespace nix { -using std::list; using std::set; using std::vector; using std::string; -typedef list<string> Strings; +typedef std::list<string> Strings; typedef set<string> StringSet; typedef std::map<string, string> StringMap; @@ -24,7 +23,7 @@ typedef std::map<string, string> StringMap; typedef string Path; typedef std::string_view PathView; -typedef list<Path> Paths; +typedef std::list<Path> Paths; typedef set<Path> PathSet; typedef vector<std::pair<string, string>> Headers; |