Skip to content
Snippets Groups Projects
  • Lioncash's avatar
    core/core: Remove unnecessary sm/controller include · 56ab6080
    Lioncash authored
    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.
    56ab6080