diff options
| author | Lexi Winter <lexi@le-fay.org> | 2025-06-27 12:48:46 +0100 |
|---|---|---|
| committer | Lexi Winter <lexi@le-fay.org> | 2025-06-27 12:48:46 +0100 |
| commit | d911ed1130bd79b6e1a8bdbf68aae6d6c334c14d (patch) | |
| tree | ddc7d51c26debd3b6fb271b76be3913772b89280 /nihil.config/write.ccm | |
| parent | 001c9917ace09f7b1c80d96eb067e1d37e86c546 (diff) | |
| download | nihil-d911ed1130bd79b6e1a8bdbf68aae6d6c334c14d.tar.gz nihil-d911ed1130bd79b6e1a8bdbf68aae6d6c334c14d.tar.bz2 | |
add more [[nodiscard]]
Diffstat (limited to 'nihil.config/write.ccm')
| -rw-r--r-- | nihil.config/write.ccm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nihil.config/write.ccm b/nihil.config/write.ccm index cb35d76..8fb8151 100644 --- a/nihil.config/write.ccm +++ b/nihil.config/write.ccm @@ -11,12 +11,12 @@ export module nihil.config:write; import nihil; -export namespace nihil::config { +namespace nihil::config { /* * Write all config values (except defaults) to disk. */ -auto write_to(std::filesystem::path const &filename) -> +export [[nodiscard]] auto write_to(std::filesystem::path const &filename) -> std::expected<void, error>; }; |
