Revert "core: Fix clang build"

This commit is contained in:
bunnei 2020-10-20 19:07:39 -07:00 committed by GitHub
parent 1367e8fb75
commit deb3536936
105 changed files with 667 additions and 906 deletions

View file

@ -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);
}