diff options
| author | FearlessTobi <thm.frey@gmail.com> | 2024-01-18 22:39:15 +0100 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2024-01-25 16:42:06 -0500 |
| commit | 3b98aaef24cf62bfae064a7b3a32b5f44ac6ebf8 (patch) | |
| tree | 3c9ad14c965a00a0fb12bfe850c2b5373e4099a0 /src/core/reporter.cpp | |
| parent | 3f6c5a0a08988e43849ba3731a0ef733ce4d326c (diff) | |
result: Make fully constexpr, add ON_RESULT_INCLUDED
Diffstat (limited to 'src/core/reporter.cpp')
| -rw-r--r-- | src/core/reporter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/reporter.cpp b/src/core/reporter.cpp index dc3883528e..1a0138697b 100644 --- a/src/core/reporter.cpp +++ b/src/core/reporter.cpp @@ -68,8 +68,8 @@ json GetReportCommonData(u64 title_id, Result result, const std::string& timesta auto out = json{ {"title_id", fmt::format("{:016X}", title_id)}, {"result_raw", fmt::format("{:08X}", result.raw)}, - {"result_module", fmt::format("{:08X}", static_cast<u32>(result.module.Value()))}, - {"result_description", fmt::format("{:08X}", result.description.Value())}, + {"result_module", fmt::format("{:08X}", static_cast<u32>(result.GetModule()))}, + {"result_description", fmt::format("{:08X}", result.GetDescription())}, {"timestamp", timestamp}, }; |
