1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

Rename requireGcStore to GcStore::require

I should have done this to begin with. This will be nicer once more
Store sub-interfaces exist too, to illustrate the pattern.
This commit is contained in:
John Ericson 2022-03-08 17:45:19 +00:00
parent aee56e0f89
commit 073e134de6
7 changed files with 12 additions and 12 deletions

View file

@ -77,8 +77,8 @@ struct GcStore : public virtual Store
/* Perform a garbage collection. */
virtual void collectGarbage(const GCOptions & options, GCResults & results) = 0;
static GcStore & require(Store & store);
};
GcStore & requireGcStore(Store & store);
}