diff options
| author | Lexi Winter <lexi@le-fay.org> | 2025-06-23 16:28:11 +0100 |
|---|---|---|
| committer | Lexi Winter <lexi@le-fay.org> | 2025-06-23 16:28:11 +0100 |
| commit | d5963532328ce5f1c9f266bf7e760b7d18a60c15 (patch) | |
| tree | 28e8d4b98f2f3adbd2f02bcc656ad74e626677c9 /nihil.ucl/map.ccm | |
| parent | 0fa623093366351ad47583f47add6e51f56a56d8 (diff) | |
| download | nihil-d5963532328ce5f1c9f266bf7e760b7d18a60c15.tar.gz nihil-d5963532328ce5f1c9f266bf7e760b7d18a60c15.tar.bz2 | |
various updates
Diffstat (limited to 'nihil.ucl/map.ccm')
| -rw-r--r-- | nihil.ucl/map.ccm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nihil.ucl/map.ccm b/nihil.ucl/map.ccm index c140885..434659b 100644 --- a/nihil.ucl/map.ccm +++ b/nihil.ucl/map.ccm @@ -7,6 +7,7 @@ module; #include <cassert> #include <cstdint> #include <cstdlib> +#include <format> #include <memory> #include <optional> #include <string> @@ -22,7 +23,7 @@ namespace nihil::ucl { // Exception thrown when map::operator[] does not find the key. export struct key_not_found : error { key_not_found(std::string_view key) - : error("key '{}' not found in map", key) + : error(std::format("key '{}' not found in map", key)) , _key(key) {} |
