diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-11-26 12:34:43 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-11-26 12:37:23 +0100 |
commit | 0287f8305790a87b128ce09d7d3fa0de7104673c (patch) | |
tree | 2797e8ced31d95780bcb60735095c1746cde5f80 /src/libutil | |
parent | 605bacdc929db4d820b8d5866450de7d1ec6e6cf (diff) |
Ask for confirmation before allowing flake Nix configuration settings
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/logging.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libutil/logging.hh b/src/libutil/logging.hh index e3fe613e8..cd0cb64c5 100644 --- a/src/libutil/logging.hh +++ b/src/libutil/logging.hh @@ -106,6 +106,9 @@ public: formatHelper(f, args...); writeToStdout(f.str()); } + + virtual std::optional<char> ask(std::string_view s) + { return {}; } }; ActivityId getCurActivity(); |