aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/logging.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-11-26 12:34:43 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-11-26 12:37:23 +0100
commit0287f8305790a87b128ce09d7d3fa0de7104673c (patch)
tree2797e8ced31d95780bcb60735095c1746cde5f80 /src/libutil/logging.hh
parent605bacdc929db4d820b8d5866450de7d1ec6e6cf (diff)
Ask for confirmation before allowing flake Nix configuration settings
Diffstat (limited to 'src/libutil/logging.hh')
-rw-r--r--src/libutil/logging.hh3
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();