diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/glue/arp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/glue/arp.cpp b/src/core/hle/service/glue/arp.cpp index e6d9d1b24..7b1c6677c 100644 --- a/src/core/hle/service/glue/arp.cpp +++ b/src/core/hle/service/glue/arp.cpp | |||
| @@ -157,9 +157,9 @@ class IRegistrar final : public ServiceFramework<IRegistrar> { | |||
| 157 | friend class ARP_W; | 157 | friend class ARP_W; |
| 158 | 158 | ||
| 159 | public: | 159 | public: |
| 160 | explicit IRegistrar( | 160 | using IssuerFn = std::function<ResultCode(u64, ApplicationLaunchProperty, std::vector<u8>)>; |
| 161 | Core::System& system_, | 161 | |
| 162 | std::function<ResultCode(u64, ApplicationLaunchProperty, std::vector<u8>)> issuer) | 162 | explicit IRegistrar(Core::System& system_, IssuerFn&& issuer) |
| 163 | : ServiceFramework{system_, "IRegistrar"}, issue_process_id{std::move(issuer)} { | 163 | : ServiceFramework{system_, "IRegistrar"}, issue_process_id{std::move(issuer)} { |
| 164 | // clang-format off | 164 | // clang-format off |
| 165 | static const FunctionInfo functions[] = { | 165 | static const FunctionInfo functions[] = { |
| @@ -238,7 +238,7 @@ private: | |||
| 238 | rb.Push(RESULT_SUCCESS); | 238 | rb.Push(RESULT_SUCCESS); |
| 239 | } | 239 | } |
| 240 | 240 | ||
| 241 | std::function<ResultCode(u64, ApplicationLaunchProperty, std::vector<u8>)> issue_process_id; | 241 | IssuerFn issue_process_id; |
| 242 | bool issued = false; | 242 | bool issued = false; |
| 243 | ApplicationLaunchProperty launch{}; | 243 | ApplicationLaunchProperty launch{}; |
| 244 | std::vector<u8> control; | 244 | std::vector<u8> control; |