mirror of
https://github.com/NixOS/nix.git
synced 2025-11-16 07:22:43 +01:00
add werror=suggest-override
Improves code readability by making overrides explicit. Inspired by lix code-base
This commit is contained in:
parent
2c07ea8abb
commit
63e50a4b56
9 changed files with 25 additions and 23 deletions
|
|
@ -1258,7 +1258,7 @@ bool LocalDerivationGoal::isAllowed(const DerivedPath & req)
|
|||
struct RestrictedStoreConfig : virtual LocalFSStoreConfig
|
||||
{
|
||||
using LocalFSStoreConfig::LocalFSStoreConfig;
|
||||
const std::string name() { return "Restricted Store"; }
|
||||
const std::string name() override { return "Restricted Store"; }
|
||||
};
|
||||
|
||||
/* A wrapper around LocalStore that only allows building/querying of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue