diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-04-24 20:47:57 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-04-24 20:47:57 +0200 |
commit | 31c220c7178f3a8ae7a803e46d3d568d7ff56848 (patch) | |
tree | f1fc84611cb2403ff8f7d34b9590f284e1d6a1f6 /deimos/core/status.h | |
parent | 98c8fd5d39ee645922f071b6433308a813245500 (diff) |
Reword custom formatter to be simpler
Diffstat (limited to 'deimos/core/status.h')
-rw-r--r-- | deimos/core/status.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/deimos/core/status.h b/deimos/core/status.h index 7350cc5..6601ad7 100644 --- a/deimos/core/status.h +++ b/deimos/core/status.h @@ -83,12 +83,7 @@ public: return RepCode();
}
- static void FormatStatus(IWriter* writer, const void* payload);
-
- friend constexpr deimos::FormatArg DeimosMakeFormatArg(const Status& status)
- {
- return deimos::FormatArg(status, FormatStatus);
- }
+ friend void DeimosFormat(IWriter*, const Status&);
};
inline Status UnknownError(StringView message = {})
|