[Kernel] Fix incorrect C-like structure declaration

This commit is contained in:
Triang3l
2020-06-06 22:25:48 +03:00
parent 8a64861ec0
commit 2cd69092ce

View File

@@ -81,10 +81,10 @@ class ObjectTable {
void PurgeAllObjects(); // Purges the object table of all guest objects void PurgeAllObjects(); // Purges the object table of all guest objects
private: private:
typedef struct { struct ObjectTableEntry {
int handle_ref_count = 0; int handle_ref_count = 0;
XObject* object = nullptr; XObject* object = nullptr;
} ObjectTableEntry; };
ObjectTableEntry* LookupTable(X_HANDLE handle); ObjectTableEntry* LookupTable(X_HANDLE handle);
XObject* LookupObject(X_HANDLE handle, bool already_locked); XObject* LookupObject(X_HANDLE handle, bool already_locked);