aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/handle_table.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-03 22:22:36 -0700
committerbunnei <bunneidev@gmail.com>2021-05-05 16:40:50 -0700
commit7ccbdd4d8d3dea7294d2cac38779cceea9745d52 (patch)
tree3106289a5c5a6e4bf50bc09a548c8408aa29fbad /src/core/hle/kernel/handle_table.h
parent5e5933256b022f6890fc3f14164ae9e9c3ee9ae3 (diff)
hle: kernel: Migrate KProcess to KAutoObject.
Diffstat (limited to 'src/core/hle/kernel/handle_table.h')
-rw-r--r--src/core/hle/kernel/handle_table.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/handle_table.h b/src/core/hle/kernel/handle_table.h
index 555fb20e5..24a26b81d 100644
--- a/src/core/hle/kernel/handle_table.h
+++ b/src/core/hle/kernel/handle_table.h
@@ -98,7 +98,7 @@ public:
* Looks up a handle.
* @return Pointer to the looked-up object, or `nullptr` if the handle is not valid.
*/
- std::shared_ptr<Object> GetGeneric(Handle handle) const;
+ Object* GetGeneric(Handle handle) const;
/**
* Looks up a handle while verifying its type.
@@ -106,7 +106,7 @@ public:
* type differs from the requested one.
*/
template <class T>
- std::shared_ptr<T> Get(Handle handle) const {
+ T* Get(Handle handle) const {
return DynamicObjectCast<T>(GetGeneric(handle));
}