mirror of https://git.suyu.dev/suyu/suyu
bcat: In-class initialize ProgressServiceBackend's impl member
Allows us to remove a constructor initializer list.
This commit is contained in:
parent
3fcd2180e4
commit
81adf46d1d
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
namespace Service::BCAT {
|
namespace Service::BCAT {
|
||||||
|
|
||||||
ProgressServiceBackend::ProgressServiceBackend(std::string_view event_name) : impl{} {
|
ProgressServiceBackend::ProgressServiceBackend(std::string_view event_name) {
|
||||||
auto& kernel{Core::System::GetInstance().Kernel()};
|
auto& kernel{Core::System::GetInstance().Kernel()};
|
||||||
event = Kernel::WritableEvent::CreateEventPair(
|
event = Kernel::WritableEvent::CreateEventPair(
|
||||||
kernel, Kernel::ResetType::Automatic,
|
kernel, Kernel::ResetType::Automatic,
|
||||||
|
|
|
@ -95,7 +95,7 @@ private:
|
||||||
|
|
||||||
void SignalUpdate() const;
|
void SignalUpdate() const;
|
||||||
|
|
||||||
DeliveryCacheProgressImpl impl;
|
DeliveryCacheProgressImpl impl{};
|
||||||
Kernel::EventPair event;
|
Kernel::EventPair event;
|
||||||
bool need_hle_lock = false;
|
bool need_hle_lock = false;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue