diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-07-19 12:05:48 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-07-19 12:25:02 -0400 |
| commit | c061c2bf3c579deb75f9da310f53652db9ef91c5 (patch) | |
| tree | 28f8662b2183ecb9132f633481aca73bf18f130e /src/core/hle/service/vi/vi.cpp | |
| parent | 758c357868fca86edf3642a5a7e658839d35183c (diff) | |
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.
Diffstat (limited to 'src/core/hle/service/vi/vi.cpp')
| -rw-r--r-- | src/core/hle/service/vi/vi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index eccee6e33..3a69b85f9 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp @@ -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: |
