1
0
Fork 0
forked from suyu/suyu

kernel/shared_memory: Remove unnecessary semicolon at end of ConvertPermissions()

Functions don't need to be terminated by semicolons.
This commit is contained in:
Lioncash 2018-04-25 19:52:48 -04:00
parent 40dee76c57
commit 1913cf4783
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -152,7 +152,7 @@ VMAPermission SharedMemory::ConvertPermissions(MemoryPermission permission) {
u32 masked_permissions = u32 masked_permissions =
static_cast<u32>(permission) & static_cast<u32>(MemoryPermission::ReadWriteExecute); static_cast<u32>(permission) & static_cast<u32>(MemoryPermission::ReadWriteExecute);
return static_cast<VMAPermission>(masked_permissions); return static_cast<VMAPermission>(masked_permissions);
}; }
u8* SharedMemory::GetPointer(u32 offset) { u8* SharedMemory::GetPointer(u32 offset) {
return backing_block->data() + backing_block_offset + offset; return backing_block->data() + backing_block_offset + offset;