mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
Remove std::string alias (for real this time)
Also use std::string_view in a few more places.
This commit is contained in:
parent
14b38d0887
commit
df552ff53e
110 changed files with 773 additions and 681 deletions
|
@ -36,7 +36,7 @@ void removeOldGenerations(std::string dir)
|
|||
} catch (SysError & e) {
|
||||
if (e.errNo == ENOENT) continue;
|
||||
}
|
||||
if (link.find("link") != string::npos) {
|
||||
if (link.find("link") != std::string::npos) {
|
||||
printInfo(format("removing old generations of profile %1%") % path);
|
||||
if (deleteOlderThan != "")
|
||||
deleteGenerationsOlderThan(path, deleteOlderThan, dryRun);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue