aboutsummaryrefslogtreecommitdiff
path: root/kapi
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-03-20 12:02:28 +0100
committerFelix Morgner <felix.morgner@ost.ch>2026-03-20 12:02:28 +0100
commit24703d5b9bc297616b8baf8957ab7e74e2f67352 (patch)
treef30bd8e8f7f734085ae58c3002519a756ef06091 /kapi
parent1865f7a162a496592e236ffcff171e7e7bc47ee2 (diff)
parentd7147ddd7416a6cce874d290d1615527f4d7cdb9 (diff)
downloadteachos-24703d5b9bc297616b8baf8957ab7e74e2f67352.tar.xz
teachos-24703d5b9bc297616b8baf8957ab7e74e2f67352.zip
Merge branch 'fmorgner/align-format-with-stdlib' into develop-BA-FS26
Diffstat (limited to 'kapi')
-rw-r--r--kapi/include/kapi/memory/address.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kapi/include/kapi/memory/address.hpp b/kapi/include/kapi/memory/address.hpp
index 587aeac..13bdf4c 100644
--- a/kapi/include/kapi/memory/address.hpp
+++ b/kapi/include/kapi/memory/address.hpp
@@ -229,13 +229,13 @@ namespace kstd
{
constexpr auto static suffix = Type == kapi::memory::address_type::linear ? "%lin" : "%phy";
- constexpr auto parse(std::string_view context) -> std::string_view
+ constexpr auto parse(format_parse_context & context) -> format_parse_context::iterator
{
auto result = formatter<std::uintptr_t>::parse(context);
- if (!this->specs.type)
+ if (!this->specifiers.type)
{
- this->specs.type = 'p';
- this->specs.alternative_form = true;
+ this->specifiers.type = 'p';
+ this->specifiers.alternative_form = true;
}
return result;
}