style(3p/nix): Remove 'using std::*' from types.hh
It is considered bad form to use things from includes in headers, as these directives propagate to everywhere else and can make it confusing. types.hh (which is includes almost literally everywhere) had some of these directives, which this commit removes.
This commit is contained in:
parent
f30b2e610d
commit
838f86b0fd
85 changed files with 859 additions and 821 deletions
6
third_party/nix/src/libexpr/names.hh
vendored
6
third_party/nix/src/libexpr/names.hh
vendored
|
|
@ -21,10 +21,10 @@ struct DrvName {
|
|||
std::unique_ptr<std::regex> regex;
|
||||
};
|
||||
|
||||
typedef list<DrvName> DrvNames;
|
||||
typedef std::list<DrvName> DrvNames;
|
||||
|
||||
string nextComponent(string::const_iterator& p,
|
||||
const string::const_iterator end);
|
||||
std::string nextComponent(std::string::const_iterator& p,
|
||||
const std::string::const_iterator end);
|
||||
int compareVersions(const std::string& v1, const std::string& v2);
|
||||
DrvNames drvNamesFromArgs(const Strings& opArgs);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue