Core/Containers: Warning fixes and RandomResizeList with predicate optimization

(cherry picked from commit 0fbfa8ead04a59f3eef70f4f2e454e318d895bd9)
This commit is contained in:
Shauren
2016-05-24 18:52:34 +02:00
parent 40b38658c4
commit a6205e4035
+2 -2
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);
}
/*