aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.ucl/map.ccm
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-06-23 16:28:11 +0100
committerLexi Winter <lexi@le-fay.org>2025-06-23 16:28:11 +0100
commitd5963532328ce5f1c9f266bf7e760b7d18a60c15 (patch)
tree28e8d4b98f2f3adbd2f02bcc656ad74e626677c9 /nihil.ucl/map.ccm
parent0fa623093366351ad47583f47add6e51f56a56d8 (diff)
downloadnihil-d5963532328ce5f1c9f266bf7e760b7d18a60c15.tar.gz
nihil-d5963532328ce5f1c9f266bf7e760b7d18a60c15.tar.bz2
various updates
Diffstat (limited to 'nihil.ucl/map.ccm')
-rw-r--r--nihil.ucl/map.ccm3
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)
{}