3
0
Fork 0
forked from suyu/suyu

bcat: In-class initialize ProgressServiceBackend's impl member

Allows us to remove a constructor initializer list.
This commit is contained in:
Lioncash 2019-10-06 14:07:17 -04:00
parent 3fcd2180e4
commit 81adf46d1d
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@
namespace Service::BCAT {
ProgressServiceBackend::ProgressServiceBackend(std::string_view event_name) : impl{} {
ProgressServiceBackend::ProgressServiceBackend(std::string_view event_name) {
auto& kernel{Core::System::GetInstance().Kernel()};
event = Kernel::WritableEvent::CreateEventPair(
kernel, Kernel::ResetType::Automatic,

View file

@ -95,7 +95,7 @@ private:
void SignalUpdate() const;
DeliveryCacheProgressImpl impl;
DeliveryCacheProgressImpl impl{};
Kernel::EventPair event;
bool need_hle_lock = false;
};