aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/module.cpp
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-13 19:26:04 +0200
committerEgor Tensin <egor@tensin.name>2026-06-13 19:26:04 +0200
commit9991c3526cd0d4a773e17064327fd41fd091129d (patch)
tree36567562f8be540fb1bfbf8fb8d102a72a5eccf2 /src/module.cpp
parentupgrade winapi-common (diff)
downloadwinapi-debug-9991c3526cd0d4a773e17064327fd41fd091129d.tar.gz
winapi-debug-9991c3526cd0d4a773e17064327fd41fd091129d.zip
finally, perfect .clang-format settings?
Diffstat (limited to '')
-rw-r--r--src/module.cpp20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/module.cpp b/src/module.cpp
index ae4a95f..ca76cf5 100644
--- a/src/module.cpp
+++ b/src/module.cpp
@@ -59,17 +59,21 @@ Address Module::translate_online_address(Address online) const {
}
std::string Module::invalid_offline_address(Address offline) const {
- return std::format("offline address {} doesn't belong to module {} (base offline address {})",
- address::format(offline),
- get_name(),
- address::format(get_offline_base()));
+ return std::format(
+ "offline address {} doesn't belong to module {} (base offline address {})",
+ address::format(offline),
+ get_name(),
+ address::format(get_offline_base())
+ );
}
std::string Module::invalid_online_address(Address online) const {
- return std::format("online address {} doesn't belong to module {} (base online address {})",
- address::format(online),
- get_name(),
- address::format(get_online_base()));
+ return std::format(
+ "online address {} doesn't belong to module {} (base online address {})",
+ address::format(online),
+ get_name(),
+ address::format(get_online_base())
+ );
}
} // namespace winapi