Core/Containers: Warning fixes and RandomResizeList with predicate optimization

(cherry picked from commit 0fbfa8ead0)
This commit is contained in:
Shauren
2016-05-24 18:51:31 +02:00
parent 40b38658c4
commit a6205e4035

View File

@@ -31,7 +31,7 @@ namespace Trinity
namespace Containers
{
template<class T>
void RandomResizeList(std::list<T> &list, uint32 size)
void RandomResizeList(std::list<T>& list, uint32 size)
{
uint32 list_size = uint32(list.size());
@@ -56,7 +56,7 @@ namespace Trinity
if (size)
RandomResizeList(listCopy, size);
list = listCopy;
list = std::move(listCopy);
}
/*