diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-09-06 14:32:25 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-09-06 14:38:39 -0400 |
| commit | 56ab608044a6161118e96ea7d2c048306fad9c5e (patch) | |
| tree | 4d1cca102962b2997147d4b5d89f1495996bda1a /src/core/hle/service/sm/sm.cpp | |
| parent | fbaefc47a0250864f079b846a2d800f2a0342c73 (diff) | |
core/core: Remove unnecessary sm/controller include
The only reason this include was necessary, was because the constructor
wasn't defaulted in the cpp file and the compiler would inline it
wherever it was used. However, given Controller is forward declared, all
those inlined constructors would see an incomplete type, causing a
compilation failure. So, we just place the constructor in the cpp file,
where it can see the complete type definition, allowing us to remove
this include.
Diffstat (limited to 'src/core/hle/service/sm/sm.cpp')
| -rw-r--r-- | src/core/hle/service/sm/sm.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cpp index b240d7eed..18d1641b8 100644 --- a/src/core/hle/service/sm/sm.cpp +++ b/src/core/hle/service/sm/sm.cpp @@ -15,6 +15,7 @@ namespace Service::SM { +ServiceManager::ServiceManager() = default; ServiceManager::~ServiceManager() = default; void ServiceManager::InvokeControlRequest(Kernel::HLERequestContext& context) { |
