diff options
Diffstat (limited to 'third_party/nix/src/nix-collect-garbage')
-rw-r--r-- | third_party/nix/src/nix-collect-garbage/nix-collect-garbage.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/nix-collect-garbage/nix-collect-garbage.cc b/third_party/nix/src/nix-collect-garbage/nix-collect-garbage.cc index 0050bdda15fb..548e492664de 100644 --- a/third_party/nix/src/nix-collect-garbage/nix-collect-garbage.cc +++ b/third_party/nix/src/nix-collect-garbage/nix-collect-garbage.cc @@ -40,7 +40,7 @@ void removeOldGenerations(const std::string& dir) { continue; } } - if (link.find("link") != string::npos) { + if (link.find("link") != std::string::npos) { LOG(INFO) << "removing old generations of profile " << path; if (!deleteOlderThan.empty()) { deleteGenerationsOlderThan(path, deleteOlderThan, dryRun); |