diff options
| author | bunnei <bunneidev@gmail.com> | 2018-07-19 16:08:07 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-19 16:08:07 -0700 |
| commit | 31413f0d2f861090a597a042603bf72b5bb79928 (patch) | |
| tree | 0a5093957c433b91e9f51a7fe7fdfba1a92fd6ba /src/core/hle/service/vi | |
| parent | 724467113736bedd80cdaebad9966be4bfba29bb (diff) | |
| parent | c061c2bf3c579deb75f9da310f53652db9ef91c5 (diff) | |
Merge pull request #717 from lioncash/explicit
hle/service: Make constructors explicit where applicable
Diffstat (limited to 'src/core/hle/service/vi')
| -rw-r--r-- | src/core/hle/service/vi/vi.cpp | 4 | ||||
| -rw-r--r-- | src/core/hle/service/vi/vi.h | 4 |
2 files changed, 4 insertions, 4 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: diff --git a/src/core/hle/service/vi/vi.h b/src/core/hle/service/vi/vi.h index e8bda01d7..92f5b6059 100644 --- a/src/core/hle/service/vi/vi.h +++ b/src/core/hle/service/vi/vi.h @@ -24,8 +24,8 @@ class Module final { public: class Interface : public ServiceFramework<Interface> { public: - Interface(std::shared_ptr<Module> module, const char* name, - std::shared_ptr<NVFlinger::NVFlinger> nv_flinger); + explicit Interface(std::shared_ptr<Module> module, const char* name, + std::shared_ptr<NVFlinger::NVFlinger> nv_flinger); void GetDisplayService(Kernel::HLERequestContext& ctx); |
