aboutsummaryrefslogtreecommitdiff
path: root/src/common/typed_address.h
diff options
context:
space:
mode:
authorcrueter <swurl@swurl.xyz>2025-04-09 19:11:22 -0400
committerGitHub <noreply@github.com>2025-04-10 01:11:22 +0200
commit9cef9f5dce7c41c9ab2ea5b9b8a294228a535c4c (patch)
treedc718d8597f37f964e92dcd72010661f8083ee09 /src/common/typed_address.h
parent216ded699791dcbfbfc122b6fc2b12d1252f15bb (diff)
Update fmt to allow for v11
Signed-off-by: swurl <swurl@swurl.xyz>
Diffstat (limited to 'src/common/typed_address.h')
-rw-r--r--src/common/typed_address.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/typed_address.h b/src/common/typed_address.h
index d5e743583d..4df48a99fb 100644
--- a/src/common/typed_address.h
+++ b/src/common/typed_address.h
@@ -5,7 +5,7 @@
#include <compare>
#include <type_traits>
-#include <fmt/format.h>
+#include <fmt/ranges.h>
#include "common/common_types.h"
@@ -262,7 +262,7 @@ struct fmt::formatter<Common::PhysicalAddress> {
return ctx.begin();
}
template <typename FormatContext>
- auto format(const Common::PhysicalAddress& addr, FormatContext& ctx) {
+ auto format(const Common::PhysicalAddress& addr, FormatContext& ctx) const {
return fmt::format_to(ctx.out(), "{:#x}", static_cast<u64>(addr.GetValue()));
}
};
@@ -273,7 +273,7 @@ struct fmt::formatter<Common::ProcessAddress> {
return ctx.begin();
}
template <typename FormatContext>
- auto format(const Common::ProcessAddress& addr, FormatContext& ctx) {
+ auto format(const Common::ProcessAddress& addr, FormatContext& ctx) const {
return fmt::format_to(ctx.out(), "{:#x}", static_cast<u64>(addr.GetValue()));
}
};
@@ -284,7 +284,7 @@ struct fmt::formatter<Common::VirtualAddress> {
return ctx.begin();
}
template <typename FormatContext>
- auto format(const Common::VirtualAddress& addr, FormatContext& ctx) {
+ auto format(const Common::VirtualAddress& addr, FormatContext& ctx) const {
return fmt::format_to(ctx.out(), "{:#x}", static_cast<u64>(addr.GetValue()));
}
};