diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-10-13 11:25:49 -0700 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-10-13 11:25:49 -0700 |
commit | 59a304a9a822467cecb5ee4d344c38e13711e78e (patch) | |
tree | 50cc4471b5c36eeebf8e4b3aac77cf44b585c9dc /src/libcmd/repl.cc | |
parent | 27ed3d04581b39b2653a50c0251b3d82fdade6f3 (diff) |
Fix clang warnings
Diffstat (limited to 'src/libcmd/repl.cc')
-rw-r--r-- | src/libcmd/repl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc index 61c05050f..df8932087 100644 --- a/src/libcmd/repl.cc +++ b/src/libcmd/repl.cc @@ -1050,7 +1050,7 @@ struct CmdRepl : InstallablesCommand evalSettings.pureEval = false; } - void prepare() + void prepare() override { if (!settings.isExperimentalFeatureEnabled(Xp::ReplFlake) && !(file) && this->_installables.size() >= 1) { warn("future versions of Nix will require using `--file` to load a file"); |