aboutsummaryrefslogtreecommitdiff
path: root/kapi
diff options
context:
space:
mode:
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;
}