aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.config/write.ccm
diff options
context:
space:
mode:
Diffstat (limited to 'nihil.config/write.ccm')
-rw-r--r--nihil.config/write.ccm4
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>;
};