[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
1 changed files with 2 additions and 2 deletions

View File

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