mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-02-19 11:23:06 +00:00
hle/service: Make constructors explicit where applicable
Prevents implicit construction and makes these lingering non-explicit constructors consistent with the rest of the other classes in services.
This commit is contained in:
@@ -579,7 +579,7 @@ private:
|
||||
|
||||
class ISystemDisplayService final : public ServiceFramework<ISystemDisplayService> {
|
||||
public:
|
||||
ISystemDisplayService() : ServiceFramework("ISystemDisplayService") {
|
||||
explicit ISystemDisplayService() : ServiceFramework("ISystemDisplayService") {
|
||||
static const FunctionInfo functions[] = {
|
||||
{1200, nullptr, "GetZOrderCountMin"},
|
||||
{1202, nullptr, "GetZOrderCountMax"},
|
||||
@@ -777,7 +777,7 @@ private:
|
||||
|
||||
class IApplicationDisplayService final : public ServiceFramework<IApplicationDisplayService> {
|
||||
public:
|
||||
IApplicationDisplayService(std::shared_ptr<NVFlinger::NVFlinger> nv_flinger);
|
||||
explicit IApplicationDisplayService(std::shared_ptr<NVFlinger::NVFlinger> nv_flinger);
|
||||
~IApplicationDisplayService() = default;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user