diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-02-21 16:37:25 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-02-21 16:37:25 +0100 |
commit | 36c7b12f3354606a50808197f6695c185fd02893 (patch) | |
tree | fbd1e816de491509af74ce21eed1ae1923e8acb9 /src/libutil/types.hh | |
parent | 1ac2664472d0135503e54f0d924a802023855003 (diff) |
Remove std::string alias
Diffstat (limited to 'src/libutil/types.hh')
-rw-r--r-- | src/libutil/types.hh | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/libutil/types.hh b/src/libutil/types.hh index a26c9a966..bea2673ca 100644 --- a/src/libutil/types.hh +++ b/src/libutil/types.hh @@ -11,20 +11,17 @@ namespace nix { -using std::string; - -typedef std::list<string> Strings; -typedef std::set<string> StringSet; -typedef std::map<string, string> StringMap; +typedef std::list<std::string> Strings; +typedef std::set<std::string> StringSet; +typedef std::map<std::string, std::string> StringMap; /* Paths are just strings. */ - -typedef string Path; +typedef std::string Path; typedef std::string_view PathView; typedef std::list<Path> Paths; typedef std::set<Path> PathSet; -typedef std::vector<std::pair<string, string>> Headers; +typedef std::vector<std::pair<std::string, std::string>> Headers; /* Helper class to run code at startup. */ template<typename T> |