1
0
This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
yuzu-mainline/src/core/hle/service/sm
Lioncash 56ab608044 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.
2018-09-06 14:38:39 -04:00
..
controller.cpp core/core: Remove unnecessary sm/controller include 2018-09-06 14:38:39 -04:00
controller.h core/core: Remove unnecessary sm/controller include 2018-09-06 14:38:39 -04:00
sm.cpp core/core: Remove unnecessary sm/controller include 2018-09-06 14:38:39 -04:00
sm.h core/core: Remove unnecessary sm/controller include 2018-09-06 14:38:39 -04:00