mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
Fix code formatting and grammar ;)
svn-id: r30819
This commit is contained in:
parent
56c5d86431
commit
356ae3b9ce
@ -97,7 +97,6 @@ public:
|
||||
while (i != Common::List<T>::end()) {
|
||||
res = compareFunction(i.operator*(), pos.operator*());
|
||||
if (res <= 0) {
|
||||
|
||||
T temp(*pos);
|
||||
erase(pos);
|
||||
++i;
|
||||
@ -116,7 +115,6 @@ public:
|
||||
while (i != Common::List<T>::end()) {
|
||||
res = compareFunction(i.operator*(), pos.operator*());
|
||||
if (res >= 0) {
|
||||
|
||||
T temp(*pos);
|
||||
erase(pos);
|
||||
return insert(i, temp);
|
||||
@ -143,12 +141,11 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
bool locate(const T* val, iterator& foundedIterator) {
|
||||
bool locate(const T* val, iterator& foundIterator) {
|
||||
|
||||
for (iterator i = Common::List<T>::begin(); i != Common::List<T>::end(); ++i)
|
||||
if (val == i.operator->())
|
||||
{
|
||||
foundedIterator = i;
|
||||
if (val == i.operator->()) {
|
||||
foundIterator = i;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user