diff options
Diffstat (limited to 'liblfjail/context.hh')
| -rw-r--r-- | liblfjail/context.hh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/liblfjail/context.hh b/liblfjail/context.hh index d7aca5e..5eaed3b 100644 --- a/liblfjail/context.hh +++ b/liblfjail/context.hh @@ -5,6 +5,7 @@ #ifndef LFJAIL_CONTEXT_HH #define LFJAIL_CONTEXT_HH +#include <filesystem> #include <string> namespace lfjail { @@ -14,13 +15,10 @@ namespace lfjail { */ struct context { // Path to the database directory (-d). - std::string dbdir = LFJAIL_DBDIR; + std::filesystem::path dbdir = LFJAIL_DBDIR; // Print more detailed messages (-v). bool verbose = false; - - // Return the path for a particular file, relative to dbdir. - auto path(this context const &, std::string_view what) -> std::string; }; } // namespace lfjail |
