mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 12:15:45 +00:00
Revert "core: Fix clang build"
This commit is contained in:
parent
1367e8fb75
commit
deb3536936
105 changed files with 667 additions and 906 deletions
|
@ -68,7 +68,7 @@ ResultVal<Handle> HandleTable::Create(std::shared_ptr<Object> obj) {
|
|||
generations[slot] = generation;
|
||||
objects[slot] = std::move(obj);
|
||||
|
||||
const auto handle = static_cast<Handle>(generation | static_cast<u16>(slot << 15));
|
||||
Handle handle = generation | (slot << 15);
|
||||
return MakeResult<Handle>(handle);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue