Minor fixes

- Fix a typo in OpenAL
- Fix typo in cellHttp.h
- Unused variables in catch
- Use 64-bit shifts
- Use use_count with shared pointers, unique is depracated and getting removed
- Explicitly cast boolean to int
- Signed/unsigned issues with loop variables
- Fix missing return statement (the code path is unreachable, but compiler wants a return)
- */ ouside of comment
- Fix duplicate layout name
This commit is contained in:
msuih 2019-06-28 10:16:14 +03:00 committed by Nekotekina
parent 1e0289bcb2
commit 690cdff0d3
10 changed files with 14 additions and 13 deletions

View file

@ -988,7 +988,7 @@ namespace vm
continue;
}
if (must_be_empty && (!it->unique() || (*it)->imp_used(lock)))
if (must_be_empty && (it->use_count() != 1 || (*it)->imp_used(lock)))
{
return *it;
}