diff options
| author | 2023-02-02 15:53:28 -0500 | |
|---|---|---|
| committer | 2023-02-02 15:53:28 -0500 | |
| commit | b01698775b468a04e4d0a9bdd86035ff00e6decb (patch) | |
| tree | 88f1784fe7833392caeaf713a7a616772f446b18 /src/core/reporter.h | |
| parent | Merge pull request #9708 from ameerj/gl-context-flush (diff) | |
| download | yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.tar.gz yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.tar.xz yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.zip | |
Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"
Diffstat (limited to 'src/core/reporter.h')
| -rw-r--r-- | src/core/reporter.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/reporter.h b/src/core/reporter.h index bb11f8e7c..9fdb9d6c1 100644 --- a/src/core/reporter.h +++ b/src/core/reporter.h | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | 5 | ||
| 6 | #include <array> | 6 | #include <array> |
| 7 | #include <optional> | 7 | #include <optional> |
| 8 | #include <span> | ||
| 9 | #include <string> | 8 | #include <string> |
| 10 | #include <vector> | 9 | #include <vector> |
| 11 | #include "common/common_types.h" | 10 | #include "common/common_types.h" |
| @@ -57,8 +56,7 @@ public: | |||
| 57 | System, | 56 | System, |
| 58 | }; | 57 | }; |
| 59 | 58 | ||
| 60 | void SavePlayReport(PlayReportType type, u64 title_id, | 59 | void SavePlayReport(PlayReportType type, u64 title_id, const std::vector<std::vector<u8>>& data, |
| 61 | const std::vector<std::span<const u8>>& data, | ||
| 62 | std::optional<u64> process_id = {}, std::optional<u128> user_id = {}) const; | 60 | std::optional<u64> process_id = {}, std::optional<u128> user_id = {}) const; |
| 63 | 61 | ||
| 64 | // Used by error applet | 62 | // Used by error applet |