Explicitly instantiate constructors/destructors for Kernel objects
This should speed up compile times a bit, as well as enable more liberal use of forward declarations. (Due to SharedPtr not trying to emit the destructor anymore.)
This commit is contained in:
parent
12232e0b08
commit
7725256f64
17 changed files with 51 additions and 8 deletions
|
@ -5,6 +5,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "core/hle/kernel/kernel.h"
|
||||
#include "core/mem_map.h"
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
|
@ -43,6 +44,9 @@ inline static u32* GetCommandBuffer(const int offset=0) {
|
|||
*/
|
||||
class Session : public WaitObject {
|
||||
public:
|
||||
Session();
|
||||
~Session() override;
|
||||
|
||||
std::string GetTypeName() const override { return "Session"; }
|
||||
|
||||
static const HandleType HANDLE_TYPE = HandleType::Session;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue