diff options
| author | JMC47 <JMC4789@gmail.com> | 2025-12-22 13:34:11 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-22 13:34:11 -0500 |
| commit | 8a64bc499f831aa67026078fb594c46f019108f0 (patch) | |
| tree | 17afa84d343a3e08adbb746817ff46d66d9c2dbf /Source/Core/DiscIO/MultithreadedCompressor.h | |
| parent | 9fe177bc2177223344306c9dd9f131613e9c349c (diff) | |
| parent | 127e068e51a13a9bf69a576dc9d192f2c0287874 (diff) | |
Merge pull request #14154 from jordan-woyak/result-parameter-order
Common/Result: Swap order of template parameters to match C++26's std::expected.
Diffstat (limited to 'Source/Core/DiscIO/MultithreadedCompressor.h')
| -rw-r--r-- | Source/Core/DiscIO/MultithreadedCompressor.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/DiscIO/MultithreadedCompressor.h b/Source/Core/DiscIO/MultithreadedCompressor.h index 736d177de5..6019d5472b 100644 --- a/Source/Core/DiscIO/MultithreadedCompressor.h +++ b/Source/Core/DiscIO/MultithreadedCompressor.h @@ -8,8 +8,6 @@ #include <memory> #include <thread> #include <utility> -#include <variant> -#include <vector> #include "Common/Assert.h" #include "Common/Event.h" @@ -27,7 +25,7 @@ enum class ConversionResultCode }; template <typename T> -using ConversionResult = Common::Result<ConversionResultCode, T>; +using ConversionResult = Common::Result<T, ConversionResultCode>; // This class starts a number of compression threads and one output thread. // The set_up_compress_thread_state function is called at the start of each compression thread. |
